tree-sitter-nu icon indicating copy to clipboard operation
tree-sitter-nu copied to clipboard

Grammar railroad diagram

Open mingodad opened this issue 2 years ago • 1 comments

Using this page https://meimporta.eu/tree-sitter/json2ebnf.html we can get a navigable railroad diagram for tree-sitter grammars like this project.

See also https://github.com/tree-sitter/tree-sitter/issues/2268 .

Cheers !

mingodad avatar May 16 '23 12:05 mingodad

very cool. thanks for sharing.

fdncred avatar May 16 '23 12:05 fdncred

  1. The link is dead.
  2. Has anyone ever used this for nu?
  3. If desired, we can add a working link to the README, I don't think that an open issue is the right place for this.

mrdgo avatar Nov 15 '24 17:11 mrdgo

It was cool when I viewed it a year ago. Not sure what it even looks like now. I can't remember. 😆 I wouldn't be opposed to having a working link somewhere.

fdncred avatar Nov 15 '24 17:11 fdncred

The link now is https://mingodad.github.io/plgh/json2ebnf.html

mingodad avatar Nov 15 '24 18:11 mingodad

Thanks for sharing. This is cool, we could add it to one of our markdown documents if someone is so inclined. It's not really "completed" but it's also not "not planned".

fdncred avatar Nov 16 '24 14:11 fdncred