Open mingodad opened 2 years ago
It does look very cool. But I'm not sure how the result can be incorporated into github easily.
What do you mean ? You can download/save the resulting railroad diagram .
Sorry, I wasn't clear. I meant I could download the diagram.xhtml, but github does not support this extension for drag/drop it it into issues textarea. Which I took to mean xhtml is not supported by their embedded doc system.
Using this online tool https://www.bottlecaps.de/convert/ to convert the
jsish
grammar to a format understood by https://www.bottlecaps.de/rr/ui and manually adding the lex tokens we can have a navigable railroad diagram (https://en.wikipedia.org/wiki/Syntax_diagram).Copy the EBNF shown bellow on https://www.bottlecaps.de/rr/ui in the tab
Edit Grammar
then switch to the tabView Diagram
.