SeniorMars / tree-sitter-typst

A TreeSitter parser for the Typst File Format
MIT License
137 stars 7 forks source link

rust-sitter #1

Open ZackGlenn opened 1 year ago

ZackGlenn commented 1 year ago

I ran across this and typst.nvim while looking for typst tooling, and it seems like you have a good use case for rust-sitter. It would let you define the grammar in annotated rust code, and then automatically generate the tree-sitter parser and rust bindings. There's a good write-up about it here, I figure it's worth a look if you haven't checked it out yet.

SeniorMars commented 1 year ago

I have seen it but didn't think about using it for this project. I'll reconsider it.