3 Expression Evaluator
The libaime expression evaluator is meant to be useful rather than
simple. It should also serve larger scopes than simple expression evaluation,
like creating simple application extension programming or modeling languages.
The expression evaluator features include:
- Expression C like syntax, allowing for prefix unary and infix binary operators,
parentheses, variables and functions, string and numeric constants
- Application definable set of operators
- Application definable set of functions
- Application definable set of variables
- Application definable symbolic constants
- Intrinsic integer, real and string types
- Operators sets matching closely the C operators set
- Application definable opaque types
- Implicit integer to real and real to integer conversions
- Application definable set of implicit conversions
- Pass by value and pass by reference for function arguments
- Expression optimizations
- Textual expression reconstruction from the parsed representation
- Application overrideable memory management
- Clean library code, no asserts, no exits, no standard error printing