On Mar 11, 2014, at 3:51 AM, yulea...@163.com wrote:

>  Now I have a non-technical issues. The syntax diagrams for SQLite on your 
> SQLite website is so beautiful, and i want to draw one for myself but I do 
> not know what software you use to draw it. Can you tell me? and, is it the 
> software automatically converted from EBNF?

For the record, those are called syntax diagrams (or railroad diagrams) :

http://en.wikipedia.org/wiki/Syntax_diagram

SQLite call them bubble diagram:

http://www.sqlite.org/docsrc/finfo?name=art/syntax/bubble-generator.tcl

Alternatively, ditaa [1] may be of interest:

http://ditaa.sourceforge.net

Here are some example generated with ditaa of the Oracle ‘alter user’ statement:

http://picpaste.com/pics/alter_user_shadow.1394569031.png
http://picpaste.com/pics/alter_user_noshadow.1394568104.png

And here is one for ‘query block’:

http://picpaste.com/pics/query_block.1394568877.png

For reference, here are the original Oracle diagrams:

http://docs.oracle.com/cd/E11882_01/server.112/e26088/img/alter_user.gif
http://docs.oracle.com/cd/E11882_01/server.112/e26088/img/query_block.gif



_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to