4 ms·
Many of your concerns could be alleviated by using Tree-Sitter. (https://tree-sitter.github.io/tree-sitter/ https://tree-sitter.github.io/tree-sitter/)
by feanaro 5y ago
Many of your concerns could be alleviated by using Tree-Sitter. (https://tree-sitter.github.io/tree-sitter/ https://tree-sitter.github.io/tree-sitter/)
- pfdietz 5y agoTree-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.