Genezzo::Parse::SQLGrammar.pl - Generate SQL Parser
# Generate SQL.pm standalone parser perl -Iblib/lib lib/Genezzo/Parse/SQLGrammar.pl # Primitive line-mode SQL parser - dumps parse tree perl -Iblib/lib lib/Genezzo/Parse/SQLGrammar.pl interactive
This program generates a parser which can handle a fair bit of SQL92, with some non-standard perlish functions thrown in for good measure.
Originally derived from the Parse::RecDescent demo demo_operator.pl, but it bears as little resemblance to its predecessor as a rocket ship to a rocking chair.
Special thanks to Damian Conway for Parse::RecDescent, as well as Terrence Brannon for the Parse::RecDescent::FAQ. An honorable mention goes to Terence Parr at ANTLR.org for his help on parsing issues.
Copyright (c) 2005,2006 Jeffrey I Cohen. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Address bug reports and comments to: firstname.lastname@example.org
For more information, please visit the Genezzo homepage at http://www.genezzo.com