Sedona XPRESSion Evaluator Reference Guide
Formal XPRESSion Evaluator Definitions
The XPRESSion Evaluator operates on algebraic and logical expressions given in Backus-Naur (BNF) form.
| <variable>
| <number>
| <function> ( <arglist> )
<binaryoperator> := + | - | * | / | ^ | != | == | > | < | >= | <= | && | ||
<unaryoperator> := + | - | !
<arglist> := <expr> [, <arglist> ]
<variable> := <scalar variable> | <array variable>
<scalar variable> := <identifier>
<array variable> := <identifier>[<expr>]
<identifier> := [A-Za-z][A-Za-z0-9_:]*
Examples of valid expressions and variables will be given later in this document. Note that the conditional assignment <expr> ? <expr> : <expr> is not listed in the expression description. This feature has not been implemented in the current version of the XPRESSion Evaluator.