2 ms·
Have you developed against TreeSitter? Some feedback from people who use it here - https://news.ycombinator.com/item?id=39783471 https://news.ycombinator.com/i
by chubot 2y ago
Have you developed against TreeSitter? Some feedback from people who use it here - https://news.ycombinator.com/item?id=39783471 https://news.ycombinator.com/item?id=39783471
And here - https://lobste.rs/s/9huy81/tbsp_tree_based_source_processing#c_zxxu35 https://lobste.rs/s/9huy81/tbsp_tree_based_source_processing...
- IshKebab 2y agoYes I have, and it worked very well for what I was using it for (assembly language LSP server). I didn't run into any of the issues they mentioned (not saying they don't exist though). For new projects I use Chumsky. It's a pure Rust parser which is nice because it means you avoid the generated C, and it also gives you a fully parsed and natively typed output, rather than Tree Sitter's dynamically typed tree of nodes, which means there's no extra parsing step to do. The main downside is it's more complicated to write the parser (some fairly extreme types). The API isn't stable yet either. But overall I like it more than Tree Sitter.