4 Created: Monday, June 15, 1998 4:41:11 AM
5 Author: Kenji Tanaka (kentar@osa.att.ne.jp)
10 resource 'cmdo' (128, "Antlr") {
11 { /* array dialogs: 5 elements */
14 "ANTLR -- Purdue Compiler Construction To"
15 "ol Set (PCCTS) LL(k) parser generator.",
16 { /* array itemArray: 12 elements */
24 "Read grammar from stdin",
26 "Read grammar from stdin."
35 "Send grammar.c/grammar.cpp to stdout",
37 "Send grammar.c/grammar.cpp to stdout."
45 "Choose the grammar specification files y"
46 "ou wish to have ANTLR process.",
48 "Grammar specification:",
51 { /* array MultiTypesArray: 1 elements */
73 "Choose the directory where ANTLR will pu"
117 "Parse control options may be set with th"
128 "Various command line options may be set "
139 "Antlr has ALOT of options. There are eve"
140 "n more to be found with this button."
148 {106, 324, 126, 460},
150 "Options for renaming output files may be"
151 " set with this button."
161 "PCCTS was written by Terence Parr, Russe"
162 "ll Quong, Will Cohen, and Hank Dietz: 19"
163 "89-1998. MPW port by Scott Haney.",
169 "Use this dialog to specify command line "
171 { /* array itemArray: 15 elements */
181 "Generate C++ output from both ANTLR and "
193 "Generate code for Abstract-Syntax-Trees "
203 "Generate line info",
205 "If this option is checked, ANTLR will ge"
206 "nerate line info about grammaractions, t"
207 "hereby making debugging easier since com"
208 "pile errors will point to the grammar fi"
218 "Generate error classes",
220 "If this option is checked, ANTLR will ge"
221 "nerate an error class foreach non-termin"
231 "Don't generate Code",
233 "If this option is checked, ANTLR will ge"
234 "nerate no code, i.e. it will only perfor"
235 "m analysis on the grammar."
244 "Delay lookahead fetches",
246 "If this option is checked, ANTLR will ge"
247 "nerate a parser that delays lookahead fe"
248 "tches until needed."
259 "In C++ mode use \"newAST(...)\" rather tha"
269 "Support parse traces",
271 "If this option is checked, ANTLR inserts"
272 " code in each parsing function to provid"
273 "e for user-defined handling of a detaile"
274 "d parse trace. The code consists of call"
275 "s to zzTRACEIN and zzTRACEOUT."
284 "Generate cross-references",
286 "If this option is checked, ANTLR will ge"
287 "nerate a cross reference for all rules. "
288 "For each rule it will print a list of al"
289 "l other rules that refrence it."
298 "Don't create Lexer files",
300 "If this option is checked, ANTLR will no"
301 "t generate DLG-related output files. Thi"
302 "s option should be used if one wants a c"
303 "ustom lexical analyzer or if one has mad"
304 "e changes to the grammar not affecting t"
305 "he lexical structure."
314 "Don't generate token expr sets",
316 "If this option is checked, ANTLR will no"
317 "t generate sets for token expression set"
318 "s; instead, it will generate a || separa"
319 "ted sequence of LA(1)==token #. "
328 "Generate ANSI-compatible",
330 "Generate ANSI-compatible code (default=F"
339 {118, 235, 133, 460},
340 "Don't generate tokens.h",
342 "Do not generate tokens.h (default=FALSE)"
350 {138, 235, 153, 460},
351 "Provide \"(alpha)? beta\" info",
353 "Provide additional information for \"(alpha)? beta\" error messages"
362 {163, 125, 179, 196},
366 "Width of tabs (1 to 8) for grammar.c/gra"
375 {161, 236, 177, 342},
376 {162, 345, 177, 454},
380 "Prefix all generated rule functions with"
386 "Use this dialog to specify still more co"
387 "mmand line options.",
388 { /* array itemArray: 12 elements */
394 { /* array radioArray: 3 elements */
396 {38, 25, 53, 85}, "None", "", Set, "When this option is selected, ANTLR will"
397 " not print the grammar to stdout.",
399 {38, 100, 53, 160}, "Yes", "-p", NotSet, "When this option is selected, ANTLR will"
400 " print the grammar, stripped of all acti"
401 "ons and comments, to stdout.",
403 {38, 175, 53, 235}, "More", "-pa", NotSet, "When this option is selected, ANTLR will"
404 " print the grammar, stripped of all acti"
405 "ons and comments, to stdout. It will als"
406 "o annotate the output with the first set"
407 "s determined from grammar analysis."
424 { /* array radioArray: 3 elements */
426 {88, 25, 103, 85}, "Low", "", Set, "When this option is selected, ANTLR will"
427 " show ambiguities/errors in low detail.",
429 {88, 100, 103, 160}, "Medium", "-e2", NotSet, "When this option is selected, ANTLR will"
430 " show ambiguities/errors in more detail.",
432 {88, 175, 103, 235}, "High", "-e3", NotSet, "When this option is selected, ANTLR will"
433 " show ambiguities/errors in excruciating"
455 "If this option is checked, ANTLR will wa"
456 "rn if semantic predicates and/or (É)? bl"
457 "ocks are assumed to cover ambiguous alte"
465 "Report when tnode usage exceeds:",
467 {162, 255, 178, 326},
471 "Report when tnode usage exceeds value du"
472 "ring ambiguity resolution."
483 "With the antlr \"-info p\" switch the user"
484 " will receive information about the pred"
485 "icate suppression in the generated file."
496 "Using \"-info t\" gives information about "
497 "the total number of tnodes created and t"
498 "he peak number of tnodes."
509 "first/follow set information."
517 {100, 292, 115, 425},
520 "prints name of each rule as it is starte"
521 "d and flushes output at start of each rule."
529 {120, 292, 135, 416},
532 "If there is more than one rule which is "
533 "not referenced by any other rule then al"
534 "l such rules are listed."
548 "Use this dialog to specify command line "
549 "options relating to renaming output file"
551 { /* array itemArray: 7 elements */
563 "This entry specifies the name ANTLR uses"
564 " for the errors file."
571 "Lexical output name:",
577 "This entry specifies the name ANTLR uses"
578 " for the lexical output file."
585 "Lexical modes name:",
591 "This entry specifies the name ANTLR uses"
592 " for the lexical mode definitions file."
601 {110, 205, 126, 300},
605 "This entry specifies the name ANTLR uses"
606 " for the file that remaps globally visib"
616 {135, 205, 151, 300},
620 "This entry specifies the name ANTLR uses"
621 " for the tokens file."
632 "If this option is checked, ANTLR will cr"
633 "eate a standard header file named, by de"
634 "fault 'stdpccts.h'. This name can be alt"
635 "ered using the entry right next door."
639 { /* array OrArray: 1 elements */
645 "Std header file name:",
646 {160, 175, 175, 355},
647 {160, 355, 176, 450},
651 "This entry specifies the name ANTLR uses"
652 " for the standard header file."
657 "Use this dialog to specify parse options"
659 { /* array itemArray: 9 elements */
671 "This entry specifies the number of token"
685 "This entry specifies the number of token"
686 "s of lookahead when using compressed (li"
687 "near approximation) lookahead. In genera"
688 "l, the compressed lookahead is much deep"
689 "er than the full lookahead."
702 "This entry specifies the maximum number "
703 "of tokens of tree nodes used by the gram"
713 "Maintenance Release style hoisting",
715 "Turn on/off k=1 Maintenance Release styl"
725 "EXPERIMENTAL Maintenance Release style h"
728 "Turn on/off k>1 EXPERIMENTAL Maintenance"
729 " Release style hoisting."
738 "Compute context for hoisted predicates",
740 "Turn on/off computation of context for h"
750 {141, 135, 155, 209},
754 "Ambiguity aid for a rule (rule name or l"
762 "Limits exp growth:",
763 {140, 236, 155, 361},
764 {139, 372, 155, 452},
768 "Limits exp growth of -aa listing - defau"
769 "lt=1 (max=ck value)."
778 "Lookahead token may appear multiple time"
781 "Lookahead token may appear multiple time"