]>
Commit | Line | Data |
---|---|---|
30fdf114 LG |
1 | /*\r |
2 | File: dlgMPW.r\r | |
3 | Target: dlg 133MR\r | |
4 | Created: Monday, June 15, 1998 4:44:11 AM\r | |
5 | Author: Kenji Tanaka (kentar@osa.att.ne.jp)\r | |
6 | */\r | |
7 | \r | |
8 | #include "cmdo.r"\r | |
9 | \r | |
10 | resource 'cmdo' (128, "Dlg") {\r | |
11 | { /* array dialogs: 1 elements */\r | |
12 | /* [1] */\r | |
13 | 295,\r | |
14 | "DLG -- Purdue Compiler Construction Tool"\r | |
15 | " Set (PCCTS) lexical analyzer generator.",\r | |
16 | { /* array itemArray: 18 elements */\r | |
17 | /* [1] */\r | |
18 | NotDependent {\r | |
19 | \r | |
20 | },\r | |
21 | CheckOption {\r | |
22 | NotSet,\r | |
23 | {35, 175, 50, 225},\r | |
24 | "On",\r | |
25 | "-CC",\r | |
fb0b35e0 AC |
26 | "When this control is checked, DLG generates "\r |
27 | "a scanner using C++ classes rather than "\r | |
28 | "C functions."\r | |
30fdf114 LG |
29 | },\r |
30 | /* [2] */\r | |
31 | Or {\r | |
32 | { /* array OrArray: 1 elements */\r | |
33 | /* [1] */\r | |
34 | 1\r | |
35 | }\r | |
36 | },\r | |
37 | RegularEntry {\r | |
38 | "Lexer Class Name:",\r | |
39 | {35, 225, 50, 355},\r | |
40 | {35, 355, 51, 450},\r | |
41 | "DLGLexer",\r | |
42 | keepCase,\r | |
43 | "-cl",\r | |
fb0b35e0 | 44 | "This entry specifies the name DLG uses for the C++ lexer class."\r |
30fdf114 LG |
45 | },\r |
46 | /* [3] */\r | |
47 | NotDependent {\r | |
48 | \r | |
49 | },\r | |
50 | TextBox {\r | |
51 | gray,\r | |
52 | {25, 165, 60, 460},\r | |
53 | "C++ Code Generation"\r | |
54 | },\r | |
55 | /* [4] */\r | |
56 | NotDependent {\r | |
57 | \r | |
58 | },\r | |
59 | Files {\r | |
60 | InputFile,\r | |
61 | RequiredFile {\r | |
62 | {37, 25, 56, 135},\r | |
63 | "Input File",\r | |
64 | "",\r | |
65 | "Choose the lexical description file for "\r | |
66 | "DLG to process."\r | |
67 | },\r | |
68 | Additional {\r | |
69 | "",\r | |
70 | "",\r | |
71 | "",\r | |
72 | "",\r | |
73 | { /* array TypesArray: 1 elements */\r | |
74 | /* [1] */\r | |
75 | text\r | |
76 | }\r | |
77 | }\r | |
78 | },\r | |
79 | /* [5] */\r | |
80 | Or {\r | |
81 | { /* array OrArray: 1 elements */\r | |
82 | /* [1] */\r | |
83 | -1\r | |
84 | }\r | |
85 | },\r | |
86 | Files {\r | |
87 | OutputFile,\r | |
88 | RequiredFile {\r | |
89 | {66, 25, 85, 135},\r | |
90 | "Output File",\r | |
91 | "",\r | |
fb0b35e0 | 92 | "Choose the name of the file that will hold the DLG-produced scanner."\r |
30fdf114 LG |
93 | },\r |
94 | NoMore {\r | |
95 | \r | |
96 | }\r | |
97 | },\r | |
98 | /* [6] */\r | |
99 | Or {\r | |
100 | { /* array OrArray: 2 elements */\r | |
101 | /* [1] */\r | |
102 | 1,\r | |
103 | /* [2] */\r | |
104 | 5\r | |
105 | }\r | |
106 | },\r | |
107 | Dummy {\r | |
108 | \r | |
109 | },\r | |
110 | /* [7] */\r | |
111 | NotDependent {\r | |
112 | \r | |
113 | },\r | |
114 | Redirection {\r | |
115 | DiagnosticOutput,\r | |
116 | {90, 25}\r | |
117 | },\r | |
118 | /* [8] */\r | |
119 | NotDependent {\r | |
120 | \r | |
121 | },\r | |
122 | TextBox {\r | |
123 | gray,\r | |
124 | {25, 20, 132, 145},\r | |
125 | "Files"\r | |
126 | },\r | |
127 | /* [9] */\r | |
128 | NotDependent {\r | |
129 | \r | |
130 | },\r | |
131 | Files {\r | |
132 | DirOnly,\r | |
133 | OptionalFile {\r | |
134 | {68, 175, 84, 305},\r | |
135 | {88, 175, 107, 305},\r | |
136 | "Output Directory",\r | |
137 | ":",\r | |
138 | "-o",\r | |
139 | "",\r | |
140 | "Choose the directory where DLG will put "\r | |
141 | "its output.",\r | |
142 | dim,\r | |
143 | "Output DirectoryI",\r | |
144 | "",\r | |
145 | ""\r | |
146 | },\r | |
147 | NoMore {\r | |
148 | \r | |
149 | }\r | |
150 | },\r | |
151 | /* [10] */\r | |
152 | NotDependent {\r | |
153 | \r | |
154 | },\r | |
155 | RegularEntry {\r | |
156 | "Mode File Name:",\r | |
157 | {68, 315, 83, 450},\r | |
158 | {88, 315, 104, 450},\r | |
159 | "mode.h",\r | |
160 | keepCase,\r | |
161 | "-m",\r | |
fb0b35e0 | 162 | "This entry specifies the name DLG uses for its lexical mode output file."\r |
30fdf114 LG |
163 | },\r |
164 | /* [11] */\r | |
165 | NotDependent {\r | |
166 | \r | |
167 | },\r | |
168 | RadioButtons {\r | |
169 | { /* array radioArray: 3 elements */\r | |
170 | /* [1] */\r | |
fb0b35e0 AC |
171 | {134, 175, 149, 255}, "None", "", Set, "When this option is selected, DLG will not "\r |
172 | "compress its tables.",\r | |
30fdf114 | 173 | /* [2] */\r |
fb0b35e0 AC |
174 | {134, 265, 149, 345}, "Level 1", "-C1", NotSet, "When this option is selected, DLG will "\r |
175 | "remove all unused characters from the transition-from table.",\r | |
30fdf114 | 176 | /* [3] */\r |
fb0b35e0 AC |
177 | {134, 360, 149, 450}, "Level 2", "-C2", NotSet, "When this option is selected, DLG will "\r |
178 | "perform level 1 compression plus it will "\r | |
30fdf114 LG |
179 | "map equivalent characters into the same "\r |
180 | "character classes."\r | |
181 | }\r | |
182 | },\r | |
183 | /* [12] */\r | |
184 | NotDependent {\r | |
185 | \r | |
186 | },\r | |
187 | TextBox {\r | |
188 | gray,\r | |
189 | {124, 165, 156, 460},\r | |
190 | "Table Compression"\r | |
191 | },\r | |
192 | /* [13] */\r | |
193 | NotDependent {\r | |
194 | \r | |
195 | },\r | |
196 | CheckOption {\r | |
197 | Set,\r | |
198 | {165, 20, 180, 145},\r | |
199 | "Case Sensitive",\r | |
200 | "-ci",\r | |
fb0b35e0 AC |
201 | "When this control is checked, the DLG automaton "\r |
202 | "will treat upper and lower case "\r | |
30fdf114 LG |
203 | "characters identically."\r |
204 | },\r | |
205 | /* [14] */\r | |
206 | NotDependent {\r | |
207 | \r | |
208 | },\r | |
209 | CheckOption {\r | |
210 | NotSet,\r | |
211 | {165, 150, 180, 300},\r | |
212 | "Interactive Scanner",\r | |
213 | "-i",\r | |
fb0b35e0 AC |
214 | "When this control is checked, DLG will generate "\r |
215 | "as interactive a scanner as possible."\r | |
30fdf114 LG |
216 | },\r |
217 | /* [15] */\r | |
218 | NotDependent {\r | |
219 | \r | |
220 | },\r | |
221 | CheckOption {\r | |
222 | NotSet,\r | |
223 | {165, 310, 180, 460},\r | |
224 | "Ambiguity Warnings",\r | |
225 | "-Wambiguity",\r | |
226 | "When this control is checked, DLG warns "\r | |
fb0b35e0 AC |
227 | "if more than one regular expression could "\r |
228 | "match the same character sequence."\r | |
30fdf114 LG |
229 | },\r |
230 | /* [16] */\r | |
231 | NotDependent {\r | |
232 | \r | |
233 | },\r | |
234 | VersionDialog {\r | |
235 | VersionString {\r | |
236 | "1.33MR"\r | |
237 | },\r | |
fb0b35e0 AC |
238 | "PCCTS was written by Terence Parr, Russell "\r |
239 | "Quong, Will Cohen, and Hank Dietz: 1989-1998. "\r | |
240 | "MPW port by Scott Haney.",\r | |
30fdf114 LG |
241 | noDialog\r |
242 | },\r | |
243 | /* [17] */\r | |
244 | And {\r | |
245 | { /* array AndArray: 2 elements */\r | |
246 | /* [1] */\r | |
247 | 4,\r | |
248 | /* [2] */\r | |
249 | 6\r | |
250 | }\r | |
251 | },\r | |
252 | DoItButton {\r | |
253 | \r | |
254 | },\r | |
255 | /* [18] */\r | |
256 | NotDependent {\r | |
257 | \r | |
258 | },\r | |
259 | CheckOption {\r | |
260 | NotSet,\r | |
261 | {142, 20, 157, 148},\r | |
262 | "Generate ANSI C",\r | |
263 | "-ga",\r | |
fb0b35e0 AC |
264 | "When this control is checked, DLG generates "\r |
265 | "ANSI C compatible code."\r | |
30fdf114 LG |
266 | }\r |
267 | }\r | |
268 | }\r | |
269 | };\r | |
270 | \r |