This PR rewrites most parsing in parse to use fixed match expressions. We further move precedence information, which was stored in the parsers themselves, into the Precedence enum (depending on prefix vs infix). The Precedence enum now represents the source of truth for symbol precedence.
This PR also completes support for unary+ ("The not necessary numberical no-op operator!") and tests and fixes support for unary-.
This PR rewrites most parsing in
parse
to use fixed match expressions. We further move precedence information, which was stored in the parsers themselves, into thePrecedence
enum (depending on prefix vs infix). ThePrecedence
enum now represents the source of truth for symbol precedence.This PR also completes support for unary+ ("The not necessary numberical no-op operator!") and tests and fixes support for unary-.