At 8:22 AM -0400 6/11/02, Bryan C. Warnock wrote: >On Tue, 2002-06-11 at 01:38, Dan Sugalski wrote: >> (A note--when this says "stack" I really mean all the stacks) >> >> Okay, I've been thinking about stacks and stack frames, and suchlike >> things. Well, calling them "stacks" is a bit of a misnomer, since >> they're really trees, and that's partially where things get nasty. >> Looking at them as trees does make some things clearer. >> >> First, the assumptions: >> >> 1) Most parrot code will be machine generated >> 2) We may have continuations taken and called most any time > >May? That hardly makes that an assumption. :-)
;-P > > 3) Subs we call might really be coroutines > > 4) We want to be fast > >Is there (as I don't know) anything else in Perl (Parrot?) that is >implemented in terms of coroutines or continuations? Or is the only >functional programming support being provided strictly at the language >level? Well, there's exceptions. The exception handlers will be implemented with continuations. We'll find out with A6 whether we do coroutines and continuations as part of the core perl. If not, well, python does the first and ruby the second, so it's all good in there. -- Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk