Skip to content

Site Logo

Welcome

Railroad diagrams (Syntax diagrams) are a visual way to represent a context-free grammar. They represent a graphical alternative to Backus–Naur form or to EBNF as metalanguages, and may be more readily understood by laypeople. (Wikipedia)

This website provides a generator for users to create a SVG image of a Railroad Diagram (like what JSON.org uses).

Example to define a Number