Construction of Precedence Table 2/5
2) Associativity:
• Let opi and opj have equal precedence
• If opi and opj are left associative then
•
• If opi and opj are right associative then
+
*
+
*
>
>
Note:
• opi is left-associative Û a opi b opi c = (a opi b) opi c
• opi is right-associative Û a opi b opi c = a opi (b opi c)
opi > opj  and opj > opi
opi < opj  and opj < opi
+ is left-associative
* is left-associative
9/42
Example: Precedence-table part derived from
                  the associativity of operators in Gexpr2