Next: , Previous: Parsing A Program (I), Up: Imperative Language Interpreter Usage Outline


4.1.2 Executing A Program (I)

Program execution may be performed in more than one way. The simplest is the one function call one:

status = x1f4_link_program(program, context);

See x1f4_link_program.

The context parameter is the program execution context and it is passed to the C functions implementing the interpreted language allowed functions and operators. It is not used by the application extension programming language interpreter, nor by the functions implementing the libx1f4i0 functions and operators sets, nor by the standard output printing function set. Thus, in this example, it may well be set to NULL (or any value).