开发者

what is the name of the convention used in this syntax diagram

I found this diagram in the JSON specification:

what is the name of the convention used in this syntax diagram

(source: json.org)

Where does this diagramming convention come from? Is it just some random convention cooked开发者_JAVA百科 up by D.C.?


That's called a railroad diagram. Have a look at the wikipedia article for more information.


That diagram is known as a syntax diagram or railroad diagram. It's used to visually represent context-free grammars. It's a graphical depiction of the Extended Backus-Naur Form, which is also used to represent context-free grammars.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜