News for hackers. Stuff that matters.
Re:Difftastic, a structural diff tool that understands syntax by pfdietz on Friday March 22, 2024 @09:47AM (#39790727)
Tree-sitter is nice, but I would like parsers that make a better effort on invalid inputs. Something like an Early parser that maximizes some quality function. This would be useful for parsing (for example) C and C++ where the preprocessor prevents true parsing of unpreprocessed code. I understand that tree-sitter is intended for interactive use in editors where it can't spend too much time parsing.

There are no comments on this comment yet.