bnf - Tool for generating railroad diagram used on json.org -
I love syntax or on which BNF is a graphical representation of the language. I have not found any devices that have the results Can express as an expression? Can someone identify the tools used to generate these diagrams?
There is one. It creates SVG, which is also known as Rail Diagram in Specification. You can copy the SVG code or take screen shots.
You have to type in grammar and make this diagram. For example, to show you the first rail diagram, you will use the code:
object :: = '{' ('string': 'value) (', 'string ':' Value) *)? '}'
string :: = ... and value :: = by using string and value . . All references are shown. See some example diagrams on the page. They also have XML and ENNF.
Comments
Post a Comment