From: Chip Salzenberg <[EMAIL PROTECTED]> Date: Sat, 24 Jun 2006 21:56:32 -0700
On Sat, Jun 24, 2006 at 11:18:41PM -0400, Bob Rogers wrote: > Such an implementation is truly and utterly stackless, which means that > dynamic-wind needs to keep its own stack explicitly, and similarly for > dynamic binding (which, IIUC, is generally implemented in terms of > dynamic-wind). ... actually describes Parrot, present and future. Parrot doesn't need to recurse in C to invoke continuations or closures . . . Understood. However, Parrot uses an explicit chain of "Parrot_Context => RetContinuation => Parrot_Context => ...", which (IIUC) is something a pure CPS implementation does not require. That's all I meant. And my intended implementation of dynamic-wind actually does require its own stack, separate from the current control stack . .. Is there a PDD forthcoming? If not (or even if so), would you (Allison now, presumably?) like help writing it? -- Bob Rogers http://rgrjr.dyndns.org/