uben0/tree-sitter-typst

Context expressions

Closed this issue · 1 comments

It would be great if we could add support for parsing context expressions such that this grammar is 0.11.0 compliant.

From an uneducated look, it seems that context expressions behave the same in terms of parsing as an include expression, with slightly different precedence.

uben0 commented

I added the context operator. I only wrote a single test for it at the moment, but I'll need more test.

About the 0.11 update, I don't know if I understand 100% all the syntax modifications. I'll open an issue for 0.11 update.