4 ms·
What are those features out of reach of tree-sitter? I can see that you theoretically want something that's optimized for parsing well-formed code all at once,
by patrec 6y ago
What are those features out of reach of tree-sitter? I can see that you theoretically want something that's optimized for parsing well-formed code all at once, rather than potentially malformed code incrementally, but what trade-offs does tree-sitter make in practice that limit its potential for your use case? On the face of it, it seems to me like tree-sitter could server as a perfectly fine building block for generating LSIF or whatever from a code file.
- efritz 6y ago> On the face of it, it seems to me like tree-sitter could server as a perfectly fine building block for generating LSIF or whatever from a code file. It does seem this way. Another reply [1] this post makes the same point with a nice proof-of-concept as well. [1]: https://news.ycombinator.com/item?id=26230900 https://news.ycombinator.com/item?id=26230900