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

Modular Operator Broken #91

Closed dijs closed 11 years ago

dijs commented 11 years ago

trying to compile: console.log(5 % 2)

Gives compiler error:

/usr/local/lib/node_modules/kal/compiled/kal.js:1 oad(parser.Grammar),root_node.js(options)}catch(e){throw e.message||e}}var sug ^ invalid token '% 2);...' on line 1

cmwelsh commented 11 years ago

Your issue is addressed by #90. There is no modulo operator yet.

rzimmerman commented 11 years ago

I merged in @mrshu's branch, so mod works now.