Clementson's Blog

Bits and pieces (mostly Lisp-related) that I collect from the ether.

November 2003
Sun Mon Tue Wed Thu Fri Sat
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Oct  Dec

CPS transformer that provides a restricted call/cc for Common Lisp

Friday, November 7, 2003

Marco Baringer has released a "more or less complete (it does everything I need it to do) CPS transformer" that provides a "restricted call/cc" for Common Lisp. It was announced on comp.lang.lisp and can be downloaded from ftp://ftp.common-lisp.net/pub/project/bese/arnesi_latest.tar.gz. His other software is available from The bese Project on common-lisp.net.

Anyone looking to do continuations in CL might also want to look at Peter Norvig's chapter on implementing Scheme in CL in PAIP. Another option is PseudoScheme. These both provide a subset of the functionality of continuations in Scheme but (depending on what you're trying to do) may provide you with a start.

emacs Copyright © 2004 by Bill Clementson