Bubble Generator aka as bgen is a syntax diagram generator that generates syntax diagrams that look like the one present in SQLite documentation.
bgen is a shell script based on a modified version of the wish/TCL script bubble-generator.tcl, that is used in SQLite to generate its syntax diagrams. In comparison to the original bubble-generator.tcl, bgen accept argument on the command line.