uben
uben
@frozolotl Thanks for the feedback! I'll test the possible fixes and keep this response updated. By the way, `#a._ b _` is valid code (it compiles without error) and should...
@frozolotl Can I use parts of your code in the grammar I am writing ? I'm thinking about the regex for XID_Continue without `_`. If yes, do you have conditions?
Yes, the behavior of plain text square brackets is strange. I advocate the promotion to a hard error, any non escaped unbalanced square brackets.
The bug seems to be broader than just related to indentation in embedded Typst code. I do get regularly a tree sitter failure stopping syntax highlighting for arbitrary simple files....
It looks like with the new version of Tree Sitter, the bug has been fixed. Could someone try to reproduce it with a recent version of Tree Sitter? On my...
I thought about this and it could be a great way to simplify the parser, but there are several problems: - To have embedded code, a parent language has to...
I am thinking about writing the scanner in Zig, because Zig code can be transpiled to C code, and as the external scanner interacts with the tree sitter parser, only...
Indeed, with a tree-sitter grammar, there is supposed to be a indentation query file. I lazily postponed the creation of this file... I can do it for the Helix editor...