Project-SnowBall
Project-SnowBall copied to clipboard
compile treats series of expressions differently from regular interpretation
See these results of the interpreter:
>> compile [1 2 3]
== "123"
>> 1 2 3
== 3
I would expect the result of compile
to be either "3", or "1;2;3", but not "123"
The current compiler is "stupid". It should probably signal that case as an error. You will probably find many other cases like that.
I don't have a precise ETA for the "real" compiler, but that's what I'm working on right now, so it only depends on my free time. In any case, thanks for testing it!