parse.pl - Run GraphViz2::Marpa::Parser.
parse.pl [options]
Options: -help -lexed_file aLexedInputFileName -maxlevel logOption1 -minlevel logOption2 -output_file aRenderedOutputFileName -parsed_file aParsedOutputFileName -report_forest $Boolean -report_items $Boolean
Exit value: 0 for success, 1 for failure. Die upon error.
Print help and exit.
Specify the name of a CSV file of lexed tokens to read. This file was (probably) output by the lexer.
See the distro for data/*.lex.
Default: ''.
This option affects Log::Handler.
See the Log::handler docs.
Default: 'notice'.
Default: 'error'.
No lower levels are used.
Specify the name of a file to be used for output by the renderer.
See the distro for data/*.rend (output from the default renderer).
The default means the file is not written.
Specify the name of a CSV file of parsed tokens to write.
See the distro for data/*.parse.
Log the globals, nodes and edges recognized in the lexed file.
Default: 0.
Log the items recognized by the parser.
To install GraphViz2::Marpa, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GraphViz2::Marpa
CPAN shell
perl -MCPAN -e shell install GraphViz2::Marpa
For more information on module installation, please visit the detailed CPAN module installation guide.