Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile treats series of expressions differently from regular interpretation #2

Open
meijeru opened this issue Jan 9, 2012 · 1 comment

Comments

@meijeru
Copy link

meijeru commented Jan 9, 2012

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"

@giesse
Copy link
Owner

giesse commented Jan 9, 2012

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants