JohnEarnest / ok

An open-source interpreter for the K5 programming language.
MIT License
588 stars 72 forks source link

Change behavior of Environment.put and 0N #60

Closed darkf closed 8 years ago

darkf commented 8 years ago

A few explanations:

put now accepts a JS string for the name, since ks is not exported from oK and I'd like to use it in an external module.

tojs now converts symbols to strings, which simplifies some code.

The way 0N was broken: