On Mon, 12 Jan 2004, Luke Palmer wrote: > Michal Wallace writes: > > On Mon, 12 Jan 2004, Luke Palmer wrote: > > > > > I have somewhat a predicament. I want to create a continuation, and > > > have that continuation stored in the register stack that it closes > > > over (this is how I'm implementing a loop with continuations). > > > > Hmm. That sounds like Coroutine. > > Uh, how so? Are we mixing up Continuation/Coroutine vocabulary again?
:) Well... A Coroutine is a pausable, resumable continuation, right? Or basically a closure with a continuation inside it. I was just guessing how you might be implementing the loop. It sounds like a recursive tail call, but that struck me as a job for goto instead of a continuation. So I thought maybe you needed the continuation to save for later, and that made me think of a Coroutine. That's what was running through my head anyway. As for why I mentioned it based on all those assumptions... uhh, beats me. My real point was just the part about the calling conventions the thing you're calling in P0. :) Sincerely, Michal J Wallace Sabren Enterprises, Inc. ------------------------------------- contact: [EMAIL PROTECTED] hosting: http://www.cornerhost.com/ my site: http://www.withoutane.com/ --------------------------------------