Add a command line parsing procedure

This commit is contained in:
2025-05-31 11:28:24 +02:00
parent 6e415e474f
commit edb8ce37d9
11 changed files with 386 additions and 247 deletions

View File

@@ -0,0 +1,15 @@
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.