Next: , Up: Procedural Language Interpreter   [Index]

6.1 Procedural Language Interpreter Usage Outline

The procedural language interpreter mechanics are much like those of the imperative language interpreter. Its programming interface mirrors the one of the imperative language interpreter.

See Imperative Language Interpreter Usage Outline.

To execute a program its executable representation must be build. Once done, the program may be executed for as many times as desired. Finally, when no longer needed the executable representation may be disposed of.

Simple procedural language interpreter usage is outlined in this section. To keep the example simple there will no state export from application to the executed program via variables (executed programs may access application state via variables, but in this examples the only variables the program may make use of are those declared by the program itself). There will be no functions or operators used other than those from the libaime default sets and some dumb output function set allowing for unsophisticated thrashing of standard output.