Hacker News new | ask | show | jobs
by roryrjb 1894 days ago
Treesitter[0] maybe? Although that may also be built into VS Code too, I've just never seen it mentioned anywhere.

0. https://github.com/tree-sitter/tree-sitter

2 comments

Treesitter is used heavily behind the scenes at GitHub for things like their secrets scanning and other code analysis.
VSCode uses extensions to do language parsing and you can fairly easily use TreeSitter in a VSCode language extension. I have done and it works very well.