Attribute | Description | Required
|
---|---|---|
target | The grammar file to process. | Yes |
outputdirectory | The directory to write the generated files to. If not set, the files are written to the directory containing the grammar file. | No |
glib | An optional super grammar file that the target grammar overrides. This feature is only needed for advanced vocabularies. | No |
debug | When set to "yes", this flag adds code to the generated parser that will launch the ParseView debugger upon invocation. The default is " | no". |
Note | : ParseView is a separate component that needs to be installed or your grammar will have compilation errors. | No |
html | Emit an html version of the grammar with hyperlinked actions. | No |
diagnostic | Generates a text file with debugging infomation based on the target grammar. | No |
trace | Forces all rules to call traceIn/traceOut if set to "yes". The default is "no". | No |
traceParser | Only forces parser rules to call traceIn/traceOut if set to "yes". The default is "no". | No |
traceLexer | Only forces lexer rules to call traceIn/traceOut if set to "yes". The default is "no". | No |
traceTreeWalker | Only forces tree walker rules to call traceIn/traceOut if set to "yes". The default is "no". | No |
dir | The directory to invoke the VM in. | No |