lua-users home
lua-l archive

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


On Thu, Jul 23, 2009 at 11:24 AM, David Given<dg@cowlark.com> wrote:
[...]
> Ditto; I have a Gaim plugin for the Citadel IM protocol written in Lua.
> Citadel's protocol is so stateful that it was actually *easier* to bind Lua
> to Gaim and write the protocol code in a Lua coroutine than it would have
> been to do with a traditional state machine! (I can package up the code if
> anyone's interested.)

I would definitely be interested in seeing how coroutines are used.

Ashish