Closed mingodad closed 1 month ago
So... that playground is actually using this tree-sitter grammar ... there is no other EBNF source for D, which is a source of some frustration on my part.
So we cannot use that as a source since it would just be a kind of self-reference lol!
Here https://mingodad.github.io/lua-wasm-playground/ there is an easier/cleaner way to write tree-sitter grammars like
D
(selectTree-sitter-ebnf-generator-D
fromExamples
then clickRun
to see a full commented outgrammar.js
from theEBNF
variant describng the grammar inInput Text (arg[1])
).I hope it can be helpful !