alemuller / tree-sitter-make

MIT License
39 stars 14 forks source link

Fix conditionals not accepting string #4

Closed Eyenseo closed 2 years ago

Eyenseo commented 2 years ago

I played around with tree-sitter for the first time. I'm sure there are better ways, especially since I do not understand what text is supposed to be. But I guess this is a better issue explanation that screenshots / wall of text.

Fix #3

alemuller commented 2 years ago

Thanks.

Make is a highly unusual format, not very suitable for tree-sitter.

I think I might rewrite the parser now that I have a better understand of tree-sitter.

The text is a what the manual call text. Anything with nested expansion. But it also does some tricks to cause conflicts with ambiguous tokens.