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) *)? '}'  

Enter image details here

< P> You can then define 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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -