3 ms·
But they shouldn't bind a^b^c to (a^b)^c without parentheses.
by rplnt 15y ago
But they shouldn't bind a^b^c to (a^b)^c without parentheses.
- masklinn 15y agoThat's exactly the difference between binding to the right and binding to the left (aka left-associativity and right-associativity). A left-associative exponent will parse to `(a^b)^c`, a right-associative one will parse to `a^(b^c)`