lua-users home
lua-l archive

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


Somehow in my prior investigations, I had missed
http://lua-users.org/wiki/ResumableVmPatch , which solves the
pcall/yield/C++ problem quite elegantly.  With pure ANSI C, it gives
coroutines in Lua the power that they deserve. :)

The latest version on the wiki was a patch for 5.1w6.  I have taken
that and updated it to provide the same patch, updated for 5.1 final. 
You can download it from the wiki or from
http://verylowsodium.com/lua5.1-rvm.patch .

Greg F