Skip to content

Left vs Right associativity in exponentiation #70

@edpickup

Description

@edpickup

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions