4 ms·
The diagram used on this page [0], and the ones on the JSON site [1] are pretty awesome diagrams. What are they called? Is there a good programmatic tool to gen
by Normal_gaussian 8y ago
The diagram used on this page [0], and the ones on the JSON site [1] are pretty awesome diagrams. What are they called? Is there a good programmatic tool to generate them?
[0] - https://www.sqlite.org/draft/images/syntax/upsert-clause.gif https://www.sqlite.org/draft/images/syntax/upsert-clause.gif
[1] - https://www.json.org/ https://www.json.org/
- wyldfire 8y agoOften called "railroad diagram" [1] [2] [1] https://en.wikipedia.org/wiki/Syntax_diagram https://en.wikipedia.org/wiki/Syntax_diagram [2] https://stackoverflow.com/a/7143467/489590 https://stackoverflow.com/a/7143467/489590
- easytiger 8y agoI thought these are simple EBNF diagrams. As taught in British schools to 16 year olds
- cpburns2009 8y agoFrom the FAQ [1], > (25) How are the syntax diagrams (a.k.a. "railroad" diagrams) for SQLite generated? > The process is explained at http://wiki.tcl-lang.org/21708 http://wiki.tcl-lang.org/21708. I looks like a TCL script is used [2]. [1]: https://www.sqlite.org/faq.html#q25 https://www.sqlite.org/faq.html#q25 [2]: https://www.sqlite.org/docsrc/doc/tip/art/syntax/bubble-generator.tcl https://www.sqlite.org/docsrc/doc/tip/art/syntax/bubble-gene...
- deleted 8y ago[deleted]
- politips 8y agoI don't know if they used it but mermaid is pretty great: https://mermaidjs.github.io/ https://mermaidjs.github.io/