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