I have checked [diff](https://nim-lang.org/docs/diff.html), but the result, at 
least for me, is useless since I can't read on which place the 
delete/change/insert operation occurs
    
    
    import experimental/diff
    var
        x = "apple"
        y = "Apple!"
    
    echo x
    echo y
    
    echo diff.diffText(x, y)
    
    
    Run

outputs 
    
    
    @[(startA: 0, startB: 0, deletedA: 1, insertedB: 1)]
    
    
    Run

so is there something like <https://github.com/edg2s/google-diff-match-patch> 
or <https://docs.python.org/3/library/difflib.html>

BTW, <https://github.com/edg2s/google-diff-match-patch> abandoned C++ version, 
which requires the Qt library, long time ago.

thanks 

Reply via email to