<story><title>Rust-sitter: Define your entire tree-sitter grammar in Rust code</title><url>https://github.com/hydro-project/rust-sitter</url></story><parent_chain></parent_chain><comment><author>hardwaregeek</author><text>I&amp;#x27;m super excited about the ability to get good quality bindings to tree-sitter! Tree-sitter is a very cool project but it needs a little love in a few regards. A better WebAssembly story, good bindings, and the ability to construct trees synthetically (to facilitate code generation) would make it a really remarkable tool.&lt;p&gt;As for rust-sitter, it&amp;#x27;s a very promising direction. The error story needs a little work. I found it pretty hard to debug issues with my grammar. And it is slightly annoying having all those extra () fields in the struct, but that&amp;#x27;s really a minor complaint.</text></comment>
<story><title>Rust-sitter: Define your entire tree-sitter grammar in Rust code</title><url>https://github.com/hydro-project/rust-sitter</url></story><parent_chain></parent_chain><comment><author>shilangyu</author><text>Are there any benefits for users that tree-sitter is used under the hood? Can we benefit from the killer features of tree-sitter? Namely incremental parsing, fallible parsing, lossless syntax tree, or being embeddable into editors supporting tree-sitter syntax highlighting?</text></comment>