3 ms·
For anyone interested in CST tooling outside of the .NET ecosystem, tree-sitter[1] is general purpose, quite fast, supports a wide range of grammars, and has bi
by eyelidlessness 5y ago
For anyone interested in CST tooling outside of the .NET ecosystem, tree-sitter[1] is general purpose, quite fast, supports a wide range of grammars, and has bindings in quite a lot of environments (including WASM, so likely can be used anywhere with some effort).
1: https://tree-sitter.github.io/tree-sitter/ https://tree-sitter.github.io/tree-sitter/
- duped 5y agoTree sitter is absurdly complicated to use in a real project, a hand written parser might be slower but it's way easier to implement and build.
- eyelidlessness 5y agoI haven’t used it in a real project yet, but I’ve tried it out for a few project ideas, and haven’t found it complicated to use. I’m not necessarily saying it isn’t ever complicated, but I was able to knock out a couple proofs of concept in a few hours. My only complaint so far is that the sexpr representation lacks some details, but I have no problem with working around that.