Hacker News new | past | comments | ask | show | jobs | submit login

I love the diagrams from the SQLite documentation: https://www.sqlite.org/syntaxdiagrams.html



Those are commonly called “railroad diagrams”: <https://en.wikipedia.org/w/index.php?title=Syntax_diagram&ol...>


I've been bitten by those before because they are not generated from the actual syntax-parsing code, and thus are sometimes out of sync and wrong (or at least misleading).


SQLite diagrams plus examples are pretty much the way I wish all of my documentation worked.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: