gaybuild/operator-precedence.txt
fef 0620ce0468
lex: remove ** operator
I don't think this would be useful, and it would
only complicate parsing due to its right
associativity, so it has to go
2022-07-28 19:56:55 +02:00

16 lines
299 B
Text

L2R: ,
R2L: = += -= *= **= /= %= &= |= ^= <<= >>=
L2R: ||
L2R: &&
L2R: == != < <= > >=
L2R: |
L2R: ^
L2R: &
L2R: << >>
L2R: + - (binary minus)
L2R: * / %
R2L: ! - (unary minus)
L2R: () [] .
line numbers are precedence values
higher values mean higher precedence