3 ms·
The limitations are that these are very plain regexes. I've screwed up a good amount of time doing that, it's not good enough. We need actual structured semanti
by pdimitar 4y ago
The limitations are that these are very plain regexes. I've screwed up a good amount of time doing that, it's not good enough. We need actual structured semantic analysis, the way the compiler / interpreter does it.
- bbkane 4y agoThis sounds like a great use case for Tree-sitter ( https://tree-sitter.github.io/tree-sitter/ https://tree-sitter.github.io/tree-sitter/ ) GitHub uses Tree-sitter for code highlighting and goto definition, so it already has grammars for many languages