|goldbuild [options] Grammar [Table-file] [Log-File]|
The Builder is the main component of the GOLD Parsing System. The main duty of the Builder is to read a source grammar written in the GOLD Meta-Language, produce the LALR and DFA parse tables, and, finally, save this information to Compiled Grammar Table file.
|Options||-details, +details||If this flag is set true, the log file will contain details about how the Grammar file was interpreted. This option defaults to true.|
|-verbose, +verbose||If this flag is set to true, the program will output progress text to the screen as well as error messages. If set to false, no output will be generated. It defaults to true.|
|Grammar||Required. The grammar file.|
|Table File||Optional. If this field is left blank, the
program will automatically create a filename using the grammar's filename. The
new filename will contain the same base, but will have the .egt extension. For example, if
the grammar filename is "test.grm", the file "test.cgt" will be
You can also the format saved by the application: CGT (version 1), EGT (version 5), or XML. Depending on the file extension you use, goldbuild will use create the appropriate file. XML files will default to version 5, You can force goldbuild to save in version 1.0 by using the +v1 optional flag.
|Log File||Optional. The goldbuild program will automatically create a log file|
|Note:||If you prefer, you can use the common / character for designating options. The slash will be interpreted as a +. So, +verbose can be specified as /verbose.|