gp -- TOM Parser Generator


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

gp {--version}


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.


Output debugging information while parsing the grammar file..


Be verbose.


Emit flat rules.


Emit non-terminal insertion cost table.


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