16 lines
285 B
Modula-2
16 lines
285 B
Modula-2
DEFINITION MODULE CommandLineInterface;
|
|
|
|
FROM Common IMPORT ShortString;
|
|
|
|
TYPE
|
|
CommandLine = RECORD
|
|
input: ShortString;
|
|
lex: BOOLEAN;
|
|
parse: BOOLEAN
|
|
END;
|
|
PCommandLine = POINTER TO CommandLine;
|
|
|
|
PROCEDURE parse_command_line(): PCommandLine;
|
|
|
|
END CommandLineInterface.
|