inc/expression.php
Classes to evaluate algebraic expressions. 
The expression is tokenized and then compiled to RPN.
The expression supports text and numbers (interpetation depending on operator, function) and variables.
Classes
swExpression
- __construct($fn = array())
 - tokenize($s)
 - compile(às)
 - evaluate($values = array(), $globals = array(), $locals = array())
 - cText12($d)
 - unitTest()
 
swExpressionOperator
- __construct($lbl, $fnlabel, $ar, $pr, $ass)
 
swExpressionFunction
- cText($d)
 - run(&$stack)
 
swExpressionCompiledFunction
- __construct($lb, $source, $off, $ia)
 - compile()
 - run(&$stack)
 - runAggregator($list)
 
swExpressionError
And a long list of functions