MACROLET needs to be expanded in the lexical environment, not the null
environment. Adds an optional environment argument to COMPILE-FOR-EVAL and INTERNAL-EVAL. DO-MACROLET-STUFF then uses INTERNAL-EVAL (instead of COERCE) to create the local macro function in a suitable environment. This is a "minimalistic fix for CMUCL" from Gerd Moellmann.
Loading
Please register or sign in to comment