Closed dijs closed 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
Your issue is addressed by #90. There is no modulo operator yet.
I merged in @mrshu's branch, so mod works now.
mod
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