lua-users home
lua-l archive

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

That's alright, I'll let you off :-)

That recursive tail function call freebie is interesting.  Although jumping
state by returning new functions to call somehow feels *odd*.  I'll play
with it and see what kind of code I can produce with it.

I'm slowly formulating a way to mold Lua to my needs... not quite there yet
though. ;-)

Q-Games, Dylan Cuthbert.

"Nick Trout" <> wrote in message">

I said it was seat of the pants untested ;-). I wanted to go home for me
tea. Maybe if the dispatch is in the coroutine and you remember the next
state and change on an update...? I take your point that arbitrary
control flow is more difficult functionally.