sql2003ast - SQL-2003 AST
version 0.005
Jean-Damien Durand <jeandamiendurand@free.fr>
This software is copyright (c) 2014 by Jean-Damien Durand.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
sql2003ast - SQL AST
sql2003ast [options] [file]
where options can be:
--help This help. --xml XML mode. Default is a true value. Say --noxml for bless mode. --host Host language. --trace_terminals Trace terminals. Default is a false value. --trace_values Trace AST values. Default is a false value.
and arguments can be:
file Input filename containing SQL statement
Say --noxml to disable the XML mode, i.e. to use a blessed mode (i.e. a hierarchical structure of blessed perl's arrays).
--host option value if when grammar is using Host Identifiers, e.g. "EXEC SQL SELECT salary INTO :a FROM employees". Default host SQL sub-grammar is the C language. Supported values are: C, Ada, Cobol, Fortran, Mumps, Pascal, PLI.
If file is absent or equal to '-', then STDIN is assumed.
Any ambiguous parse will result in a failure, with a hopefully clear stack trace.
MarpaX::Languages::SQL2003::AST
To install MarpaX::Languages::SQL2003::AST, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MarpaX::Languages::SQL2003::AST
CPAN shell
perl -MCPAN -e shell install MarpaX::Languages::SQL2003::AST
For more information on module installation, please visit the detailed CPAN module installation guide.