lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




2011/6/23 Alex Queiroz <asandroq@gmail.com>
Hallo,

On Thu, Jun 23, 2011 at 1:26 PM, Philippe Lhoste <PhiLho@gmx.net> wrote:
>
> These can be also useful for finite state machines, particularly when we
> don't have switch, although lot of people shown that coroutines can be
> useful in this field.
>

    You only need tail calls for state machines.

--
-alex
http://www.artisancoder.com/

may be he want machine generated state machines.