This is a minor point but I wanted to clarify. Should our parser be left or right associative for exponentiation?
Ie in the case
x^y^z
Should that be parsed as
x^(y^z) ie right associative or
(x^y)^z ie left associative.
I ask as google defaults to right associative (which appears to be the convention), but excel for instance is left associative.
This is a minor point but I wanted to clarify. Should our parser be left or right associative for exponentiation?
Ie in the case
x^y^zShould that be parsed as
x^(y^z)ie right associative or(x^y)^zie left associative.I ask as google defaults to right associative (which appears to be the convention), but excel for instance is left associative.