3 resource 'cmdo' (128, "Antlr") {
7 "ANTLR -- Purdue Compiler Construction Tool Set (PCCTS) LL(k) parser generator.",
10 NotDependent { }, MultiFiles {
12 "Choose the grammar specification files you wish to have ANTLR process.",
14 "Grammar specification:",
17 { /* array MultiTypesArray: 1 elements */
27 NotDependent { }, Files {
36 "Choose the directory where ANTLR will put its output.",
47 NotDependent { }, Redirection {
52 NotDependent { }, Redirection {
57 NotDependent { }, TextBox {
63 NotDependent { }, NestedDialog {
67 "Various command line options may be set "
71 NotDependent { }, NestedDialog {
75 "Antlr has ALOT of options. There are even more to be found with this button."
78 NotDependent { }, NestedDialog {
82 "Options for renaming output files may be set with this button."
85 NotDependent { }, VersionDialog {
89 "PCCTS was written by Terence Parr, Russell Quong, Will Cohen, and Hank Dietz: 1989-1995. "
90 "MPW port by Scott Haney.",
96 "Use this dialog to specify command line options.",
99 NotDependent { }, CheckOption {
104 "Generate C++ output from both ANTLR and DLG."
107 NotDependent { }, CheckOption {
112 "Generate code for Abstract-Syntax-Trees (ASTs)."
115 NotDependent { }, CheckOption {
118 "Support parse traces",
120 "If this option is checked, ANTLR inserts code in each parsing "
121 "function to provide for user-defined handling of a detailed parse trace. "
122 "The code consists of calls to zzTRACEIN and zzTRACEOUT."
125 NotDependent { }, CheckOption {
128 "Generate line info",
130 "If this option is checked, ANTLR will generate line info about grammar"
131 "actions, thereby making debugging easier since "
132 "compile errors will point to the grammar file."
135 NotDependent { }, CheckOption {
138 "Generate cross-references",
140 "If this option is checked, ANTLR will generate a cross reference for all "
141 "rules. For each rule it will print a list of all other rules that refrence it."
144 NotDependent { }, CheckOption {
147 "Generate error classes",
149 "If this option is checked, ANTLR will generate an error class for"
153 NotDependent { }, CheckOption {
156 "Hoist predicate context",
158 "If this option is checked, ANTLR will turn on the computation and hoisting of "
162 NotDependent { }, CheckOption {
165 "Don't generate Code",
167 "If this option is checked, ANTLR will generate no code, i.e. "
168 "it will only perform analysis on the grammar."
171 NotDependent { }, CheckOption {
174 "Don't create Lexer files",
176 "If this option is checked, ANTLR will not generate DLG-related output files. "
177 "This option should be used if one wants a custom lexical analyzer or if one "
178 "has made changes to the grammar not affecting the lexical structure."
181 NotDependent { }, CheckOption {
184 "Delay lookahead fetches",
186 "If this option is checked, ANTLR will generate a parser that delays lookahead "
187 "fetches until needed."
190 NotDependent { }, CheckOption {
193 "Don't generate token expr sets",
195 "If this option is checked, ANTLR will not generate sets for token expression "
196 "sets; instead, it will generate a || separated sequence of LA(1)==token #. "
199 NotDependent { }, RegularEntry {
206 "This entry specifies the number of tokens of lookahead."
209 NotDependent { }, RegularEntry {
211 {140, 165, 155, 290},
212 {160, 165, 176, 290},
216 "This entry specifies the number of tokens of lookahead when using compressed "
217 "(linear approximation) lookahead. In general, the compressed lookahead is much "
218 "deeper than the full lookahead."
221 NotDependent { }, RegularEntry {
223 {140, 310, 155, 435},
224 {160, 305, 176, 435},
228 "This entry specifies the maximum number of tokens of tree nodes used by the grammar "
234 "Use this dialog to specify still more command line options.",
237 NotDependent { }, RadioButtons {
238 { /* array radioArray: 3 elements */
240 {38, 25, 53, 105}, "None", "", Set, "When this option is selected, ANTLR "
241 "will not print the grammar to stdout.",
243 {38, 115, 53, 195}, "Yes", "-p", NotSet, "When this option is selected, ANTLR "
244 "will print the grammar, stripped of all actions and comments, to stdout.",
246 {38, 210, 53, 300}, "More", "-pa", NotSet, "When this option is selected, ANTLR "
247 "will print the grammar, stripped of all actions and comments, to stdout. "
248 "It will also annotate the output with the first sets determined from grammar "
253 NotDependent { }, TextBox {
259 NotDependent { }, RadioButtons {
260 { /* array radioArray: 3 elements */
262 {88, 25, 103, 105}, "Low", "", Set, "When this option is selected, ANTLR "
263 "will show ambiguities/errors in low detail.",
265 {88, 115, 103, 195}, "Medium", "-e2", NotSet, "When this option is selected, ANTLR "
266 "will show ambiguities/errors in more detail.",
268 {88, 210, 103, 300}, "High", "-e3", NotSet, "When this option is selected, ANTLR "
269 "will show ambiguities/errors in excruciating detail."
273 NotDependent { }, TextBox {
275 { 78, 15, 110, 310 },
279 NotDependent { }, CheckOption {
284 "If this option is checked, ANTLR will warn if semantic predicates and/or "
285 "(É)? blocks are assumed to cover ambiguous alternatives."
291 "Use this dialog to specify command line options relating to renaming output files.",
294 NotDependent { }, RegularEntry {
301 "This entry specifies the name ANTLR uses for "
305 NotDependent { }, RegularEntry {
306 "Lexical output name:",
312 "This entry specifies the name ANTLR uses for "
313 "the lexical output file."
316 NotDependent { }, RegularEntry {
317 "Lexical modes name:",
323 "This entry specifies the name ANTLR uses for "
324 "the lexical mode definitions file."
327 NotDependent { }, RegularEntry {
330 {110, 205, 126, 300},
334 "This entry specifies the name ANTLR uses for "
335 "the file that remaps globally visible symbols."
338 NotDependent { }, RegularEntry {
341 {135, 205, 151, 300},
345 "This entry specifies the name ANTLR uses for "
349 NotDependent{ }, CheckOption {
354 "If this option is checked, ANTLR will create a standard header file named, "
355 "by default 'stdpccts.h'. This name can be altered using the entry right next door."
358 Or { {6} }, RegularEntry {
359 "Std header file name:",
360 {160, 175, 175, 355},
361 {160, 355, 176, 450},
365 "This entry specifies the name ANTLR uses for "
366 "the standard header file."