]> pd.if.org Git - pccts/blob - dlg/dlg.mpw.r
auto commit for import
[pccts] / dlg / dlg.mpw.r
1 #include "cmdo.r"
2 resource 'cmdo' (128, "Dlg") {
3         {
4                 295,
5                 "DLG -- Purdue Compiler Construction Tool Set (PCCTS)"
6                 " lexical analyzer generator.",
7                 {
8                         /* [1] */
9                         NotDependent { }, CheckOption {
10                                 NotSet,
11                                 {35, 175, 50, 225},
12                                 "On",
13                                 "-CC",
14                                 "When this control is checked, DLG generates"
15                                 " a scanner using C++ classes rather"
16                                 " than C functions."
17                         },
18                         /* [2] */
19                         Or{{1}}, RegularEntry {
20                                 "Lexer Class Name:",
21                                 {35, 225, 50, 355},
22                                 {35, 355, 51, 450},
23                                 "DLGLexer",
24                                 keepCase,
25                                 "-cl",
26                                 "This entry specifies the name DLG uses for "
27                                 "the C++ lexer class."
28                         },
29                         /* [3] */
30                         NotDependent { }, TextBox {
31                                 gray,
32                                 { 25, 165, 60, 460 },
33                                 "C++ Code Generation"
34                         },
35                         /* [4] */
36                         NotDependent { }, Files {
37                                 InputFile,
38                                 RequiredFile {
39                                         {40, 25, 59, 135},
40                                         "Input FileI",
41                                         "",
42                                         "Choose the lexical description file for DLG to process."
43                                 },
44                                 Additional {
45                                         "",
46                                         "",
47                                         "",
48                                         "",
49                                         {       /* array TypesArray: 1 elements */
50                                                 /* [1] */
51                                                 text
52                                         }
53                                 }
54                         },
55                         /* [5] */
56                         Or {{-1}}, Files {
57                                 OutputFile,
58                                 RequiredFile {
59                                         {83, 25, 102, 135},
60                                         "Output FileI",
61                                         "",
62                                         "Choose the name of the file that will hold the DLG-produced scanner."
63                                 },
64                                 NoMore { }
65                         },
66                         /* [6] */
67                         Or { {1,5} }, Dummy { },
68                         /* [7] */
69                         NotDependent { }, Redirection {
70                                 DiagnosticOutput,
71                                 { 115, 25 }
72                         },
73                         /* [8] */
74                         NotDependent { }, TextBox {
75                                 gray,
76                                 { 25, 20, 156, 145 },
77                                 "Files"
78                         },
79                         /* [9] */
80                         NotDependent { }, Files {
81                                 DirOnly,
82                                 OptionalFile {
83                                         {68, 175, 84, 305},
84                                         {88, 175, 107, 305},
85                                         "Output Directory",
86                                         ":",
87                                         "-o",
88                                         "",
89                                         "Choose the directory where DLG will put "
90                                         "its output.",
91                                         dim,
92                                         "Output DirectoryI",
93                                         "",
94                                         ""
95                                 },
96                                 NoMore { }
97
98                         },
99                         /* [10] */
100                         NotDependent { }, RegularEntry {
101                                 "Mode File Name:",
102                                 {68, 315, 83, 450},
103                                 {88, 315, 104, 450},
104                                 "mode.h",
105                                 keepCase,
106                                 "-m",
107                                 "This entry specifies the name DLG uses for "
108                                 "its lexical mode output file."
109                         },
110                         /* [11] */
111                         NotDependent { }, RadioButtons {
112                                 {       /* array radioArray: 3 elements */
113                                         /* [1] */
114                                         {134, 175, 149, 255}, "None", "", Set, "When this option is selected, DLG "
115                                         "will not compress its tables.",
116                                         /* [2] */
117                                         {134, 265, 149, 345}, "Level 1", "-C1", NotSet, "When this option is selected, DLG "
118                                         "will remove all unused characters from the transition-from table.",
119                                         /* [3] */
120                                         {134, 360, 149, 450}, "Level 2", "-C2", NotSet, "When this option is selected, DLG "
121                                         "will perform level 1 compression plus it will map "
122                                         "equivalent characters into the same character classes."
123                                 }
124                         },
125                         /* [12] */
126                         NotDependent { }, TextBox {
127                                 gray,
128                                 { 124, 165, 156, 460 },
129                                 "Table Compression"
130                         },
131                         /* [13] */
132                         NotDependent { }, CheckOption {
133                                 Set,
134                                 {165, 20, 180, 145},
135                                 "Case Sensitive",
136                                 "-ci",
137                                 "When this control is checked, the DLG automaton will "
138                                 "treat upper and lower case characters identically."
139                         },
140                         /* [14] */
141                         NotDependent { }, CheckOption {
142                                 NotSet,
143                                 {165, 150, 180, 300},
144                                 "Interactive Scanner",
145                                 "-i",
146                                 "When this control is checked, DLG will "
147                                 "generate as interactive a scanner as possible."
148                         },
149                         /* [15] */
150                         NotDependent { }, CheckOption {
151                                 NotSet,
152                                 {165, 310, 180, 460},
153                                 "Ambiguity Warnings",
154                                 "-Wambiguity",
155                                 "When this control is checked, DLG warns if more "
156                                 "than one regular expression could match the same character sequence."
157                         },
158                         /* [16] */
159                         NotDependent { }, VersionDialog {
160                                 VersionString { "1.33" },
161                                 "PCCTS was written by Terence Parr, Russell Quong, Will Cohen, and Hank Dietz: 1989-1995."
162                                 " MPW port by Scott Haney.",
163                                 0
164                         },
165                         /* [17] */
166                         And { {4,6} }, DoItButton { }
167                 }
168         }
169 };
170