Mercerenies / fifi-calculator

1 stars 0 forks source link

Parse error on adjacent operators #133

Closed Mercerenies closed 1 month ago

Mercerenies commented 1 month ago
x y^-1

This parses currently as (x^y) * (-1), which is just absolutely wrong. It should either parse as x * (y^(-1)) or be a parse error. I'd be fine with either.