gleam-lang / tree-sitter-gleam

🌳 A tree-sitter grammar for the Gleam programming language
Apache License 2.0
71 stars 13 forks source link

Easier/cleaner way to write tree-sitter grammar #97

Closed mingodad closed 1 week ago

mingodad commented 1 week ago

Here https://mingodad.github.io/lua-wasm-playground/ there is an easier/cleaner way to write tree-sitter grammars like Gleam (select Tree-sitter-ebnf-generator-Gleam from Examples then click Run to see a full commented out grammar.js from the EBNF variant describng the grammar in Input Text (arg[1])).

I hope it can be helpful !

lpil commented 1 week ago

Thank you but I don't think we are looking to rewrite this project presently as it's working for us OK.

mingodad commented 1 week ago

Thank you for reply ! The beauty of it is that there is nothing to rewrite, it's done automatically: