Glish operators for the most part take their precedence from C, with a few additions. Table 4.1 summarizes the precedence and associativity; entries at the top have highest precedence, those at the bottom lowest. Parentheses can always be used to override precedence and associativity.
Operators | Associativity |
., [], (),:: | left |
!, unary + and - | none |
: | none |
ref, const, val | none |
^ | right |
*, /, % | left |
+, - | left |
== , != , < , <= , > , <= | none |
& | left |
| | left |
&& | left |
|| | left |
function | none |
:= | right |