News for hackers. Stuff that matters.
Re:Difftastic: Syntax-aware structured diff tool by feanaro on Thursday July 08, 2021 @07:52AM (#27770754)
Many of your concerns could be alleviated by using Tree-Sitter. (https://tree-sitter.github.io/tree-sitter/)
Re:Difftastic: Syntax-aware structured diff tool by pfdietz on Thursday July 08, 2021 @08:04AM (#27770848)
Tree-sitter is great, but I find it could do a better job with broken code. This is particularly important when parsing things like C or C++ where the preprocessor makes it likely that unpreprocessed code can't be parsed anyway.