+++ /dev/null
-/*\r
- File: dlgMPW.r\r
- Target: dlg 133MR\r
- Created: Monday, June 15, 1998 4:44:11 AM\r
- Author: Kenji Tanaka (kentar@osa.att.ne.jp)\r
-*/\r
-\r
-#include "cmdo.r"\r
-\r
-resource 'cmdo' (128, "Dlg") {\r
- { /* array dialogs: 1 elements */\r
- /* [1] */\r
- 295,\r
- "DLG -- Purdue Compiler Construction Tool"\r
- " Set (PCCTS) lexical analyzer generator.",\r
- { /* array itemArray: 18 elements */\r
- /* [1] */\r
- NotDependent {\r
-\r
- },\r
- CheckOption {\r
- NotSet,\r
- {35, 175, 50, 225},\r
- "On",\r
- "-CC",\r
- "When this control is checked, DLG genera"\r
- "tes a scanner using C++ classes rather t"\r
- "han C functions."\r
- },\r
- /* [2] */\r
- Or {\r
- { /* array OrArray: 1 elements */\r
- /* [1] */\r
- 1\r
- }\r
- },\r
- RegularEntry {\r
- "Lexer Class Name:",\r
- {35, 225, 50, 355},\r
- {35, 355, 51, 450},\r
- "DLGLexer",\r
- keepCase,\r
- "-cl",\r
- "This entry specifies the name DLG uses f"\r
- "or the C++ lexer class."\r
- },\r
- /* [3] */\r
- NotDependent {\r
-\r
- },\r
- TextBox {\r
- gray,\r
- {25, 165, 60, 460},\r
- "C++ Code Generation"\r
- },\r
- /* [4] */\r
- NotDependent {\r
-\r
- },\r
- Files {\r
- InputFile,\r
- RequiredFile {\r
- {37, 25, 56, 135},\r
- "Input File",\r
- "",\r
- "Choose the lexical description file for "\r
- "DLG to process."\r
- },\r
- Additional {\r
- "",\r
- "",\r
- "",\r
- "",\r
- { /* array TypesArray: 1 elements */\r
- /* [1] */\r
- text\r
- }\r
- }\r
- },\r
- /* [5] */\r
- Or {\r
- { /* array OrArray: 1 elements */\r
- /* [1] */\r
- -1\r
- }\r
- },\r
- Files {\r
- OutputFile,\r
- RequiredFile {\r
- {66, 25, 85, 135},\r
- "Output File",\r
- "",\r
- "Choose the name of the file that will ho"\r
- "ld the DLG-produced scanner."\r
- },\r
- NoMore {\r
-\r
- }\r
- },\r
- /* [6] */\r
- Or {\r
- { /* array OrArray: 2 elements */\r
- /* [1] */\r
- 1,\r
- /* [2] */\r
- 5\r
- }\r
- },\r
- Dummy {\r
-\r
- },\r
- /* [7] */\r
- NotDependent {\r
-\r
- },\r
- Redirection {\r
- DiagnosticOutput,\r
- {90, 25}\r
- },\r
- /* [8] */\r
- NotDependent {\r
-\r
- },\r
- TextBox {\r
- gray,\r
- {25, 20, 132, 145},\r
- "Files"\r
- },\r
- /* [9] */\r
- NotDependent {\r
-\r
- },\r
- Files {\r
- DirOnly,\r
- OptionalFile {\r
- {68, 175, 84, 305},\r
- {88, 175, 107, 305},\r
- "Output Directory",\r
- ":",\r
- "-o",\r
- "",\r
- "Choose the directory where DLG will put "\r
- "its output.",\r
- dim,\r
- "Output DirectoryI",\r
- "",\r
- ""\r
- },\r
- NoMore {\r
-\r
- }\r
- },\r
- /* [10] */\r
- NotDependent {\r
-\r
- },\r
- RegularEntry {\r
- "Mode File Name:",\r
- {68, 315, 83, 450},\r
- {88, 315, 104, 450},\r
- "mode.h",\r
- keepCase,\r
- "-m",\r
- "This entry specifies the name DLG uses f"\r
- "or its lexical mode output file."\r
- },\r
- /* [11] */\r
- NotDependent {\r
-\r
- },\r
- RadioButtons {\r
- { /* array radioArray: 3 elements */\r
- /* [1] */\r
- {134, 175, 149, 255}, "None", "", Set, "When this option is selected, DLG will n"\r
- "ot compress its tables.",\r
- /* [2] */\r
- {134, 265, 149, 345}, "Level 1", "-C1", NotSet, "When this option is selected, DLG will r"\r
- "emove all unused characters from the tra"\r
- "nsition-from table.",\r
- /* [3] */\r
- {134, 360, 149, 450}, "Level 2", "-C2", NotSet, "When this option is selected, DLG will p"\r
- "erform level 1 compression plus it will "\r
- "map equivalent characters into the same "\r
- "character classes."\r
- }\r
- },\r
- /* [12] */\r
- NotDependent {\r
-\r
- },\r
- TextBox {\r
- gray,\r
- {124, 165, 156, 460},\r
- "Table Compression"\r
- },\r
- /* [13] */\r
- NotDependent {\r
-\r
- },\r
- CheckOption {\r
- Set,\r
- {165, 20, 180, 145},\r
- "Case Sensitive",\r
- "-ci",\r
- "When this control is checked, the DLG au"\r
- "tomaton will treat upper and lower case "\r
- "characters identically."\r
- },\r
- /* [14] */\r
- NotDependent {\r
-\r
- },\r
- CheckOption {\r
- NotSet,\r
- {165, 150, 180, 300},\r
- "Interactive Scanner",\r
- "-i",\r
- "When this control is checked, DLG will g"\r
- "enerate as interactive a scanner as poss"\r
- "ible."\r
- },\r
- /* [15] */\r
- NotDependent {\r
-\r
- },\r
- CheckOption {\r
- NotSet,\r
- {165, 310, 180, 460},\r
- "Ambiguity Warnings",\r
- "-Wambiguity",\r
- "When this control is checked, DLG warns "\r
- "if more than one regular expression coul"\r
- "d match the same character sequence."\r
- },\r
- /* [16] */\r
- NotDependent {\r
-\r
- },\r
- VersionDialog {\r
- VersionString {\r
- "1.33MR"\r
- },\r
- "PCCTS was written by Terence Parr, Russe"\r
- "ll Quong, Will Cohen, and Hank Dietz: 19"\r
- "89-1998. MPW port by Scott Haney.",\r
- noDialog\r
- },\r
- /* [17] */\r
- And {\r
- { /* array AndArray: 2 elements */\r
- /* [1] */\r
- 4,\r
- /* [2] */\r
- 6\r
- }\r
- },\r
- DoItButton {\r
-\r
- },\r
- /* [18] */\r
- NotDependent {\r
-\r
- },\r
- CheckOption {\r
- NotSet,\r
- {142, 20, 157, 148},\r
- "Generate ANSI C",\r
- "-ga",\r
- "When this control is checked, DLG genera"\r
- "tes ANSI C compatible code."\r
- }\r
- }\r
- }\r
-};\r
-\r