Re: merits of Lisp vs Python
"Alex Mizrahi" <udodenko@users .sourceforge.ne twrites:
Which book?
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.
"Alex Mizrahi" <udodenko@users .sourceforge.ne twrites:
PRI don't see how to implement coroutines with CL macros. Maybe I'm
PRmissing something.
>
read the book.
PRmissing something.
>
read the 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??
just a lexical variables caught into closure.
do you know what does CPS mean at all??
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.
Comment