Re: Coroutines in Lua

2006-10-10 Thread Bob Rogers
From: François PERRAD <[EMAIL PROTECTED]> Date: Tue, 10 Oct 2006 13:39:30 +0200 Thank for your long response. I included your code in languages/lua/lib/luacoroutine.pir (r14877). I encountered 2 problems : 1) coroutine_yield needs a current coroutine (not surprising) Yes, this

Re: Coroutines in Lua

2006-10-10 Thread François PERRAD
At 18:52 07/10/2006 -0400, Bob Rogers wrote: From: François PERRAD <[EMAIL PROTECTED]> Date: Wed, 04 Oct 2006 08:55:34 +0200 I've tried without success to implement coroutine in language Lua . . . Help is welcome. François. I am not surprised that you have had difficulty. I can

Coroutines in Lua

2006-10-08 Thread Bob Rogers
From: Bob Rogers <[EMAIL PROTECTED]> Date: Sat, 7 Oct 2006 18:52:29 -0400 . . . Also, the "[oops; got 4 and X]" lines in the output seem to suggest that Parrot may be getting confused about parameters. The "4" is really the length of one of the coro structures, which must be

Coroutines in Lua

2006-10-07 Thread Bob Rogers
From: François PERRAD <[EMAIL PROTECTED]> Date: Wed, 04 Oct 2006 08:55:34 +0200 I've tried without success to implement coroutine in language Lua . . . Help is welcome. François. I am not surprised that you have had difficulty. I can't even get a simple recursive coroutine to wor