On Fri, Feb 21, 2014 at 5:24 PM, Richard Hipp <d...@sqlite.org> wrote: > On Fri, Feb 21, 2014 at 7:29 AM, Max Vlasov <max.vla...@gmail.com> wrote: > >> Is there a machine-readable (BNF or other) grammar as equivalent to >> the current syntax diagrams? > > An updated version of all-bnf.html has now been checked in at > http://www.sqlite.org/docsrc/doc/trunk/art/syntax/all-bnf.html >
Thanks again for the updated grammar. Don't know whether it's somehow used for production logic (probably just kept manually synced with it), but wanted to mention a couple of things noticed. in the rule join-clause::=<table-or-subquery> [ <join-operator> <table-or-subquery> <join-constraint> ] the construct in [] probably should be made repeated with *. At least without this addition it prevented from parsing multiply joins. There are no rules described for initial-select, recursive-select. So I guessed them as synonyms for select-stmt. Max _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users