-
Notifications
You must be signed in to change notification settings - Fork 25
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
Backquote broken on SBCL again for defmacro/g! #16
Comments
Thanks for letting me know! I'll profile backquote expansion across recent versions of SBCL, and double-check the book for the intended semantics. In the mean time, I would be happy to hear more about the reader-macro strategy you have in mind. |
Cf., Pull-Request #17 |
I wanted to be able to work with the code in the book, and the reader macros made it happen. If you find how to do another hack against the SBCL compiler, that might be better. The macros work like this: take something like |
once you get it working (warning, will complain!) try something like
|
Just chiming in since it seems like #17 is bust, I managed to get defmacro/g! working by using the named read table from fare-quasiquote-extras as suggested by https://www.reddit.com/r/lisp/comments/11917mf/comment/j9k8yg1 |
Good to know, I'll check that thread out and see what can be done. This may help with some of my other libraries as well. |
Been playing around with I'm going to go ahead and integrate it here as well, with updated instructions on using It can be a minor pain for larger libraries to manually specify a named readtable for every file, but I don't have ASDF's compile-around hook working quite right using symbol-call in ASDF operations for specialized subclasses of file-type components. I'll figure it out eventually. 🙃 |
…ble; increment semantic version to 1.1.0 for new feature. Should solve Issue #16
Want to give the latest a try? the I should also now be able to strip away the special handling of |
nice to see this thing move after only five years |
defmacro/g!
and friends don't work on SBCL 1.4.1 as far as I can tell.I've implemented the functionality using a reader macro, and can probably do it for defmacro! also. Maybe that would be a better route than having to track SBCL's development. Let me know what you think about this.
The text was updated successfully, but these errors were encountered: