[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C++, pcall, and yield
- From: "Greg Falcon" <veloso@...>
- Date: Sun, 16 Apr 2006 03:12:09 -0400
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