JohnEarnest / ok

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

chars as indices #40

Closed ngn closed 8 years ago

ngn commented 8 years ago
 (!256)["A"]
0N

Would it be better if this returns 65?

JohnEarnest commented 8 years ago

In k5, the expression should give 65. I'll consider the current behavior a bug:

 (!256)["A"]
65