Expression ::=
Literal |
ArithmeticExpression |
ComparisonExpression |
LogicalExpression |
UnaryExpression |
ConcatExpression |
FilterExpression |
MapExpression |
CanExpression |
MembershipExpression |
QuantifierExpression |
ClassificationExpression
Expressions ::= Expressions "," Expression |
Expression
RainCode supports a large number of versatile constructions to build expressions. Consequently, RainCode also supports a rather high number of different precedence levels. However, in practice, it seldom is a true problem. Beside mere arithmetic operators, the other more sophisticated operators (such as quantifiers and filters) are rarely nested, and if, for some obscure reason, one combines them excessively, parentheses can always be used to override the operator's default precedence.