News for hackers. Stuff that matters.
Re:Schemastore.org – schemas for all commonly known JSON fil... by oneplane on Wednesday July 29, 2020 @03:20PM (#23990562)
One of the best representations of the 'simpleness' is the way you can draw it in a graphical loop diagram as they do on the json.org site.

When you can make your 'format' in to a not-too-big diagram like that it makes it far easier for anyone interested to 'get it' and encompass the whole thing in their mind to work with.

Re:Schemastore.org – schemas for all commonly known JSON fil... by koenigdavidmj on Wednesday July 29, 2020 @03:37PM (#23990737)
SQLite is the place that (to my knowledge) was the first to do these "railroad diagrams". Here are all of theirs (though they're also available inside the documentation): https://sqlite.org/syntaxdiagrams.html
Re:Schemastore.org – schemas for all commonly known JSON fil... by rbonvall on Wednesday July 29, 2020 @03:47PM (#23990835)
As far as I know, they were originally introduced by Niklaus Wirth to describe Pascal's syntax. See the last pages in this manual from 1973: https://www.research-collection.ethz.ch/bitstream/handle/20....
Re:Schemastore.org – schemas for all commonly known JSON fil... by jhrwalter on Thursday July 30, 2020 @01:23AM (#23994957)
Re:Schemastore.org – schemas for all commonly known JSON fil... by heinrich5991 on Wednesday July 29, 2020 @03:46PM (#23990821)
Definitely not the first, I see that the first release of SQLite was 2000, and I found these railroad diagrams in old Pascal programming books of my father.
Re:Schemastore.org – schemas for all commonly known JSON fil... by 1wd on Thursday July 30, 2020 @02:18AM (#23995212)
For example Turbo Pascal included a Language Guide book that documented the entire Object Pascal language with railroad diagrams:

https://archive.org/details/bitsavers_borlandturVersion7.0La...

Re:Schemastore.org – schemas for all commonly known JSON fil... by hans_castorp on Thursday July 30, 2020 @03:42AM (#23995642)
Oracle had those always (even back when only printed manual were available)