[Bese-devel] Special variable handling for call/cc

Levente Mészáros levente.meszaros at gmail.com
Thu Feb 9 21:51:07 UTC 2006


Hi,

Attached is a preliminary version of supporting special variables in
arnesi call/cc code.

I think the test cases look good even tough two of them still fail. I
am not so satisfied with the implementation, especially with the part
that captures the dynamic variables from the caller lisp code and the
part that makes it visible within the called lisp code. They are using
dynamically compiled code, so it might be a big performance drop.
Maybe I should introduce a global variable whether this feature is
required or not. Or it would even be better to be able to do this on a
per variable basis.

Defining and looking up special variables within cc code looks good I think.

Suggestions are welcomed to improve the patch.

Levy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: special.patch
Type: application/octet-stream
Size: 26739 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/bese-devel/attachments/20060209/1e70b771/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: special-tests.patch
Type: application/octet-stream
Size: 24970 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/bese-devel/attachments/20060209/1e70b771/attachment-0001.obj>


More information about the bese-devel mailing list