next up previous contents index
Next: Index Up: Cecil Standard Library Reference Previous: Message unparsing (reflection)

Precedence of binary operators


   Figure: Precedence groups for binary operators; higher groups have higher precedence.

\begin{figure}% latex2html id marker 6097
\centerline{\epsfig{file=binary-preced...
...groups for binary operators; higher groups have
higher precedence.}\end{figure}


Figure 2 identifies the precedence groups for the binary operators defined in the standard library and indicates which precedence groups take precedence over lower precedence groups (groups higher up have higher precedence than groups lower down, which they point to). All precedence groups have left associativity except for the central group of comparison operators which are non-associative and the ** exponentiation operator which is right-associative.

The +_ov et al. operators have the same precedence as the corresponding non-_ov operators.

Explicit parenthesization is required in expressions which mix operators that are either non-associative or unordered by the precedence partial order.


next up previous contents index
Next: Index Up: Cecil Standard Library Reference Previous: Message unparsing (reflection)

The Cecil project