Search code examples
syntaxbnfnotation

What is the name of such notation?


JSON web site uses very clear notation to describe JSON's syntax:

http://www.json.org/object.gif
(source: json.org)

What is the name of such notation? Is this is just a graphical presentation of BNF or it has it's own name?


Solution

  • These are called Syntax Diagrams (or railroad diagrams)

    "are a way to represent a context-free grammar. They represent a graphical alternative to Backus–Naur Form or EBNF"