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:
=':0N 5 3 should return 1 0 0, as it is first compared to 0N. This is observed by both the behavior of K6 and the oK manual. The test is fixed to reflect this.
Previously, 0N was lexed to {t:0, v:{t:0, v:NaN}} which should be an invalid number node. This caused some of the issues with it.
A few explanations:
put
now accepts a JS string for the name, sinceks
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:=':0N 5 3
should return1 0 0
, as it is first compared to0N
. This is observed by both the behavior of K6 and the oK manual. The test is fixed to reflect this.0N
was lexed to{t:0, v:{t:0, v:NaN}}
which should be an invalid number node. This caused some of the issues with it.