The following table lists the priority of the different operators.
Lowest Operator Name of operator
priority , comma
: colon
&&, || logical and, logical or
=,==,!=,<=,>=,<,> assignment, equal, not equal, less
equal, greater equal, less, greater
+, - plus, minus
*, / multiply, divide
Highest ^ power
priority -, ! unary minus, logical not
The grammar of the IRIT parser follows similar guidelines as the C language for simple expressions. However, complex statements differ. See the IF, FOR, FUNCTION, and PROCEDURE below for the usage of these clauses.