SQLite can emit ASCII art diagrams of its parse AST

For debugging purposes you can compile SQLite with special flags to make it print out its ASTs in a special ASCII format