Add A command line parsing procedure
This commit is contained in:
@ -5,11 +5,15 @@ FROM SYSTEM IMPORT ADR;
|
||||
|
||||
FROM Lexer IMPORT Lexer, lexer_destroy, lexer_initialize;
|
||||
FROM Transpiler IMPORT transpile;
|
||||
FROM CommandLineInterface IMPORT PCommandLine, parse_command_line;
|
||||
|
||||
VAR
|
||||
lexer: Lexer;
|
||||
command_line: PCommandLine;
|
||||
|
||||
BEGIN
|
||||
command_line := parse_command_line();
|
||||
|
||||
lexer_initialize(ADR(lexer), StdIn);
|
||||
|
||||
transpile(ADR(lexer));
|
||||
|
Reference in New Issue
Block a user