Incorrect associativity in power operation
patrickfeltes opened this issue · comments
I'm having the same issue with implementing exponents in my own interpreter.
2^2^4 evaluates to 256 instead of 65536.
Language based on lox from book "Crafting Interpreters" by @munificent
patrickfeltes opened this issue · comments
I'm having the same issue with implementing exponents in my own interpreter.
2^2^4 evaluates to 256 instead of 65536.