-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
identifers from nested syntax-rules macro #296
Comments
That one case was fixed, the cond/else does not work inside For now, I will just put it as a limitation of LIPS: You can use symbols inside lisp macros that will be used in syntax-rules macros because symbols will be gensyms. As a workaround, you can use what (and (symbol? x)
(or (eq? x 'else)
(eq? (--> (new lips.LString (x.literal)) (cmp "else")) 0))) This could be abstracted into some small function. Not sure about the name |
This simple macro doesn't work:
It throws an error because
else
got renamed to#:else
.The text was updated successfully, but these errors were encountered: