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.
http://www.q-games.com

"Nick Trout" <nick@rockstarvancouver.com> wrote in message
911F8C8EB7A8084AAEDD55CEDC54D8F80CB4B6@iggy.rockstarvancouver.com">news:911F8C8EB7A8084AAEDD55CEDC54D8F80CB4B6@iggy.rockstarvancouver.com...

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.

--nick