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

flisp nested quasiquote is not evaluated correctly #38507

Closed
rgobbel opened this issue Nov 20, 2020 · 2 comments
Closed

flisp nested quasiquote is not evaluated correctly #38507

rgobbel opened this issue Nov 20, 2020 · 2 comments

Comments

@rgobbel
Copy link

rgobbel commented Nov 20, 2020

Femtolisp seems to do the wrong thing for nested quasiquotes:

`(a `(b c))

gives

(a (list 'b 'c))

the correct result would be

(a (quasiquote (b c))

Typing quasiquote instead of using backquotes gives the same incorrect result.

I tripped over this in the course of making a femtolisp plugin for IntelliJ, in the course of fixing up the existing Julia IntelliJ plugin.

@JeffBezanson
Copy link
Sponsor Member

I believe this is already fixed in https://github.com/JeffBezanson/femtolisp. I can bring the new code over.

@rgobbel
Copy link
Author

rgobbel commented Nov 22, 2020

Definitely fixed in the main femtolisp repository, I've tested it there and it seemed fine.

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