Skip to content

Fails on expressions like 2^-1 #1

@ThatCoolCoder

Description

@ThatCoolCoder

Gives a parse error due to incorrectly giving the exponentiation higher precedence.

General case: the form of a low-precedence operator causes it to need to be evaluated earlier than expected.

Fix: the operator precedence determination needs to use more context in its decisions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions