Previous: , Up: Executive Assembler Introduction   [Index]


8.1.13 Standalone Context

The standalone aime interpreter records its state in a large scope aggregate, named for the benefit of this introduction struct context_type. The aggregated features include:

argc

is the number of string arguments of the executed program, including the name of the program (much like the C argc)

argv

is the array of string arguments of the executed program, including the name of the program (much like the C argv)

class

a temporaries indicator, set when temporaries are to be destroyed

See Temporaries.

data

is the program source

immediate

an integer, selecting between reading the program from a command line specified file and picking the program from the command line

indexset_data

is the set of executive objects as assembled by the executive assembler

program

is the name of the file from which the program was read

self

is the name of the aime interpreter, used when formatting error messages

An additionally atomic global SIGCHLD_received and an atomic pointer global static_class are used for received signals processing.