inducer / pymbolic

A simple package to do symbolic math (focus on code gen and DSLs)
http://mathema.tician.de/software/pymbolic
Other
106 stars 25 forks source link

[Parser] Incorrect if-else precedence #57

Closed kaushikcfd closed 3 years ago

kaushikcfd commented 3 years ago
In [11]: parse("10 if x or y else 20")

raises:

ParseError: else expected, or found instead at index 8: ...or y else 20...