"Alex Mizrahi" <[EMAIL PROTECTED]> writes: > PR> I don't see how to implement coroutines with CL macros. Maybe I'm > PR> missing something. > > read the book.
Which book? > but once you convert it to CPS, you just operate with closures. stack is > just a lexical variables caught into closure. > do you know what does CPS mean at all?? I once understood the basic notion but confess to have never been clear on the fine points. However, I don't see how you can do it with CL closures since CL semantics do not guarantee tail recursion optimization. If you code a loop with closures and CPS, you will blow the stack. -- http://mail.python.org/mailman/listinfo/python-list