[ANN] Closure Compiler

Anthony Hannan ajh18 at cornell.edu
Wed Feb 5 07:21:53 UTC 2003


Avi Bryant <avi at beta4.com> wrote:
> This is great work.  Thank you.  I very much hope this gets properly
> tested and evaluated for inclusion in the mainstream release.  I
> personally especially appreciate that you made an effort to cleanly
> support continuations.

I'm glad you like it.

> More importantly, I've made sure that Continuation>>value and #value:
> properly terminate the current stack before jumping to the new one.  This
> cleans up a number of small problems, particulary when dealing with
> BlockContexts.

Since your not unwinding, what's the difference between terminating
(nilling out contexts) and just letting the whole chain get garbage
collected.  At least the latter will allow someone to hold onto it if he
wants it later.

> I've attached a fileOut that includes the modified Continuation class, an
> SUnit test case for Continuation, and an example of using continuations:
> the Amb class (you can find some background on Amb at
> http://mitpress.mit.edu/sicp/full-text/sicp/book/node89.html, and see the
> methods of AmbTest for example usage in Smalltalk).

Thanks for the test case.

Cheers,
Anthony



More information about the Squeak-dev mailing list