The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

parse.pl - Run GraphViz2::Marpa::Parser.

SYNOPSIS

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.

OPTIONS

-help

Print help and exit.

-lexed_file aLexedInputFileName

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: ''.

-maxlevel logOption1

This option affects Log::Handler.

See the Log::handler docs.

Default: 'notice'.

-minlevel logOption2

This option affects Log::Handler.

See the Log::handler docs.

Default: 'error'.

No lower levels are used.

-output_file aRenderedOutputFileName

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).

Default: ''.

The default means the file is not written.

-parsed_file aParsedOutputFileName

Specify the name of a CSV file of parsed tokens to write.

See the distro for data/*.parse.

Default: ''.

The default means the file is not written.

-report_forest $Boolean

Log the globals, nodes and edges recognized in the lexed file.

Default: 0.

-report_items $Boolean

Log the items recognized by the parser.

Default: 0.