Expand description
This module contains the Value
struct, which represents a variable or function
stored within an Environment
. It also contains all the logic for manipulating
values (such as addition, comparison or conversion between types).
Structs§
- Function
- This struct is how the interpreter stores functions. It contains the function’s parameters, body and a reference to the environment in which it was defined.
Enums§
- Value
- The
Value
enum represents a data type that can be stored in anEnvironment
. Each type contains the data it represents (e.g. aValue::Integer
contains ani64
).