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 | |
---|
1 | program interpreter;
|
---|
2 |
|
---|
3 | {$mode delphi}
|
---|
4 |
|
---|
5 | uses
|
---|
6 | Execute, Source, Parser;
|
---|
7 |
|
---|
8 | var
|
---|
9 | ProgramCode: TProgramCode;
|
---|
10 | begin
|
---|
11 | WriteLn('Parsing started');
|
---|
12 | ParseProgram(@ProgramCode);
|
---|
13 | WriteLn('Parsing finished');
|
---|
14 |
|
---|
15 | WriteLn('Execution started');
|
---|
16 | ExecuteProgram(@ProgramCode);
|
---|
17 | WriteLn('Execution finished');
|
---|
18 | end.
|
---|
19 |
|
---|
20 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.