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

more autoparen issues #28

Closed rzimmerman closed 11 years ago

rzimmerman commented 11 years ago

This doesn't work without the parentheses:

returnValue = Kal.eval("_=(#{code}\n)", {filename: 'repl', modulename: 'repl'})
rzimmerman commented 11 years ago

Also:

if options.hasOwnProperty k
  o[k] = options[k]

Doesn't work

Update This particular issue was closed by gh-25

rzimmerman commented 11 years ago

This happens because the sugar for parsing code in strings adds parentheses which then look like a function call.