Update the operator precedence to achieve a few goals:
Form operators into groups which behave similarly
Make the group of operators ("top-level operators") that capture everything to the right, like if...then...else, behave similarly to the left, so that rearranging expressions won't change how they group.
Add the where operator, used to specify constraints on facet types, to the precedence chart, to define how it interacts with other operators.
Make the operator precedence diagram prettier, so that it eventually can be made into a poster that Carbon programmers can hang on their walls.
Update the operator precedence to achieve a few goals:
if
...then
...else
, behave similarly to the left, so that rearranging expressions won't change how they group.where
operator, used to specify constraints on facet types, to the precedence chart, to define how it interacts with other operators.