Skip to content

Fails on expressions like 2^-1 #1

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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