frozolotl / tree-sitter-typst

A tree-sitter grammar for the typst typesetting language with a focus on correctness
European Union Public License 1.2
76 stars 3 forks source link

Explore creating a formatter using Topiary #3

Open Enivex opened 1 year ago

Enivex commented 1 year ago

See https://github.com/tweag/topiary

I've never used it, but it's supposed to be a way of creating a formatter from tree-sitter grammar.

ErinvanderVeen commented 1 year ago

A member of the Topiary team has already been experimenting with Typst!

Right now, this grammar isn't far enough along yet to be used in Topiary, but we would gladly explore more/accept contributions when it is!