style: refactor precedence table styles and add associativity mention in expressions doc

This commit is contained in:
Bob Nystrom
2015-03-13 14:24:45 +00:00
parent 99ae2946be
commit 005a616cd6
2 changed files with 23 additions and 16 deletions
+3 -2
View File
@@ -260,9 +260,10 @@ class (or one of its subclasses).
## Precedence
When you mix these all together, you need to worry about
*precedence*—which operators bind more tightly than others. Wren mostly
*precedence*—which operators bind more tightly than others—and
*associativity*—how a series of the same operator is ordered. Wren mostly
follows C, except that it fixes the bitwise operator mistake. The full
precedence table, from lowest to highest, is:
precedence table, from highest to lowest, is:
<table class="precedence">
<tbody>