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

Loop does not work (under try lisp) #5

Closed
malisper opened this issue Jul 10, 2014 · 6 comments
Closed

Loop does not work (under try lisp) #5

malisper opened this issue Jul 10, 2014 · 6 comments

Comments

@malisper
Copy link

I don't know if it is a problem with jscl or something on your end, but loop is completely broken. Something as simple as:

(loop for i from 1 to 10 collect i)

gives "ERROR: Variable `FOR' is unbound."

@thephoeron
Copy link
Owner

Yeah, it's not implemented yet in JSCL, sadly. As it says in the readme (https://github.com/davazp/jscl): "it would be great if we were just enough compliant to include a loop implementation, a format implementation, or even CLOS or non-CLOS OOP."

@davazp
Copy link

davazp commented Jul 10, 2014

Don't hesitate to create a ticket in jscl if you miss a non-implemented feature. It will help to prioritize. I will try hard to get it into jscl.

@thephoeron
Copy link
Owner

Thanks David. I forked JSCL because I plan to contribute to it---but yes, I'll create the ticket as well.

@malisper
Copy link
Author

You (thephoeron) might want to make it clear somewhere that the REPL is not completely compatible with the book.

@thephoeron
Copy link
Owner

malisper: yeah, that might help, to be more explicit. my original plan was to have a browser repl side-by-side with the text---but then I would have to ignore so much important functionality of the language. that's why I separated the in-browser repl to its own page, as a fun guided tour, with specific examples that I know work.

@thephoeron
Copy link
Owner

Feature request moved upstream.

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

No branches or pull requests

3 participants