language-designdiagramming

Software for creating "Language Diagrams" structures


In json.org website you can see several diagrams (which I don't know that correct term to describe) that shows the whole valid syntax of the language. For example http://json.org/object.gif

How do these diagrams called?

What software do you use to create them?

Thank you, Maxim.


Solution

  • Railroad/Syntax diagrams can be created by different software.

    Here is a generator for Ruby.

    Here is one in Haskell, and one in Latex.