Variables

Variables are objects that represent a type and a value. For instance the couple (INTEGER,2) which informs us that we face an integer of value 2, is a variable.

In XLIA, a variable must belong to a parent machine. Machines use variables to keep track of things, to compute things...

General Variable Declaration

Every variable used in a machine must be previously declared, and it can be initialized with an expression. The general syntax is the following (see BNF syntax) :

Where, in order of apparition :

This general presentation will be extended and given more detail with examples in the following.

Variables Modifiers

Please refer to Variables Modifiers.

Initial Value

Initial values of variables can be given, either with raw values, or by evaluating an expression at the beginning of the simulation. For instance :

Variable Behaviors

Please refer to Variable Behaviors.