points by kroger 15 years ago Be sure to also check "(How to Write a ((Better) Lisp) Interpreter (in Python))": http://norvig.com/lispy2.html
tung 15 years ago He implements call/cc with Python's exceptions. Pretty clever. gjm11 15 years ago It does mean you don't get the full power of call/cc: you can't invoke a continuation again after it's completed. There are some cool things that stops you doing -- e.g., using call/cc to implement a backtracking searcher.
gjm11 15 years ago It does mean you don't get the full power of call/cc: you can't invoke a continuation again after it's completed. There are some cool things that stops you doing -- e.g., using call/cc to implement a backtracking searcher.
He implements call/cc with Python's exceptions. Pretty clever.
It does mean you don't get the full power of call/cc: you can't invoke a continuation again after it's completed. There are some cool things that stops you doing -- e.g., using call/cc to implement a backtracking searcher.