We need an expression language for conditional creation of objects
Issue #10
closed
variable op value
should this extend to include conjunction/disjunction and subexpressions? e.g.
(var op value and var op value) or var op value
Comments (3)
-
reporter -
reporter - Start by expanding the relational operators: eq, ne, gt, lt, le, ge
- Add the logical connectives: and, or
- Add the logical negation: not
- Add subexpressions: (...)
- Consider adding arithmetic operators: mul, div, mod, add, sub
- Consider adding bitwise operators: and, or, xor, shl, shr, cmp
-
reporter - changed status to closed
- Log in to comment
Look at SpEL. Though it is seriously ugly syntax. Otherwise a simple grammar: