source: branches/interpreter/interpreter3/interpreter.lpr

Last change on this file was 103, checked in by chronos, 8 years ago
  • Moved: All projects moved to subfolders for better maintenance of multiple projects.
File size: 306 bytes
Line 
1program interpreter;
2
3{$mode delphi}
4
5uses
6 Execute, Source, Parser;
7
8var
9 ProgramCode: TProgramCode;
10begin
11 WriteLn('Parsing started');
12 ParseProgram(@ProgramCode);
13 WriteLn('Parsing finished');
14
15 WriteLn('Execution started');
16 ExecuteProgram(@ProgramCode);
17 WriteLn('Execution finished');
18end.
19
20
Note: See TracBrowser for help on using the repository browser.