Operator precedence

Operators with the highest precedence are placed on the top:

Operators that have the same precedence are evaluated from left to right, except for comparisons and exponentiation. Comparisons can be chained arbitrarily.