Re:Let over Lambda – Common Lisp Book (2008)
by weavie on Wednesday March 06, 2019 @04:20AM
(#19317479)
If I recall somewhere around SBCL 1.2 they changed the way the backquote worked (totally fine for them to do that as it wasn't specified in the standard..) which broke the Let over Lambda macro.
I think CCL still works.
The code here should fix the problems : https://github.com/thephoeron/let-over-lambda
Note, it's been a while since I looked at it so I could have some of the details wrong. The book is still well worth reading to help you understand the possibilities with a programmable programming language, but just bear in mind the various caveats..
Re:Let over Lambda – Common Lisp Book (2008)
by lispm on Wednesday March 06, 2019 @04:09AM
(#19317437)
> make assumptions that are not guaranteed by the language specification
I haven't read it, I have to confess. It would be useful if those assumptions were explicitly mentioned and explained in the book.
Some of the advanced macro stuff is easily outside of the standard and can be still useful, which for example lacks some of the environment features described in CLtL2.
Also, IMO, the defmacro/g macro defined in this book would have been better defined as a reader macro than as a codewalking macro.