
The Parameter record only occurs once in the Compiled Grammar Table file. It contains information about the grammar as well as attributes that affect how the grammar functions. The record is preceded by a byte field contains the value 80, the ASCII code for the letter 'P'.
| Name | Type | Description |
|---|---|---|
| Name | String | This parameter contains the name of the grammar. |
| Version | String | This field contains the version of the grammar. Note that this field is a string, not an integer. |
| Author | String | This is not a necessary field, but credit to the author should be included in any completed work. |
| About | String | This is a general-purpose field the designer can use to specify some notes about the grammar. Like, the name, version and author, this field does not affect the actual parsing algorithms. |
| Case Sensitive? | Boolean | In version 1.1 of the Builder, this was an important field - if the value is false, the entries in the Character Set Table will not contain uppercase letters. In version 2.0 and later of the GOLD Parser Builder, both upper and lowercase characters are stored in the Character Set Tables. As a result, this file is merely informative. |
| Start Symbol | Integer | This field contains the index of the grammar's start symbol in the Symbol Table. The start symbol is always a nonterminal which, when shifted by the LALR parser, indicates the source text is valid and complete. |