[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Proper tail recursion
- From: "John Belmonte" <jvb@...>
- Date: Fri, 27 Jul 2001 19:01:11 +0900
Philippe Lhoste wrote:
> While I am not overly interested by recursive algorithms (useful,
> but avoidable most of the time. Please, no thread on this, I know
> I am probably wrong... :-), the finite state machine argument is
> quite valid. I don't know how to jump from one part of code to
> another, in Lua (no goto). Perhaps with dofile, but it is quite
> clumsy.
Coroutines are supposed to provide a nice solution to this, although I
haven't tried them myself.
-John