[Bese-devel] [PATCH] Allow use of macrolet in with-call/cc compiled to FASL on SBCL

Attila Lendvai attila.lendvai at gmail.com
Sat Nov 7 12:28:33 UTC 2009


> As subject, this is an improved version of the patch I sent a few
> months ago.
>
> At the moment SBCL barfs, complaining it cannot serialise a function
> into a fasl if you use macrolet inside a with-call/cc and compile to a
> fasl.
>
> I don't know whether it is sensible to write a 5am test for this as
> you need to compile something to a fasl.


fyi, we've cleaned up and factored out the walker and the call/cc
stuff in arnesi. they are now in hu.dwim.walker and hu.dwim.delico
available at http://dwim.hu

in this codebase the walker does not store the macro functions in the
bindings of the macrolet, because it doesn't make much sense. macros
are macroexpanded at walk time, so the definitions only cause trouble
while not really useful for anything.

i'm even considering walking macrolets unconditionally into locally
blocks, but that may hinder debugging a bit.

anyways, thanks for the patch!

-- 
 attila




More information about the bese-devel mailing list