rzimmerman / kal

A powerful, easy-to-use, and easy-to-read programming language for the future.
http://rzimmerman.github.io/kal
MIT License
394 stars 18 forks source link

precedence is wrong for "if" expressions #2

Closed rzimmerman closed 11 years ago

rzimmerman commented 11 years ago

For example:

a.push x if x

compiles to:

a.push(x if x)

should be:

a.push(x) if x