Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 522
abatishchev Avatar asked Jun 22 '10 10:06

abatishchev


2 Answers

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"

like image 178
David Sykes Avatar answered Nov 15 '22 08:11

David Sykes


they are called "railroad diagrams"

like image 33
Nikolaus Gradwohl Avatar answered Nov 15 '22 09:11

Nikolaus Gradwohl