gp

Name

gp -- TOM Parser Generator

Synopsis

gp [-d] [-v] [-o tom_source_file] [-o tom_defines_file] {file}

gp {--version}

Description

gp is the TOM Parser Generator. It outputs a generated TOM source file, tom_source_file.t and a secondary TOM source file, tom_defines_file.t, when given a grammar specification file.

Regular Options

-o tom_source_file

Specify the name of hte file to be used for the source of the generated parser.

-o tom_defines_file

Specify the name of the file to be used when generating the defines used by the generated parser.

-d

Output debugging information while parsing the grammar file..

-v

Be verbose.

-v-flat

Emit flat rules.

-v-cost

Emit non-terminal insertion cost table.

--version

Report the version of gp and exit. This is not yet implemented.