lua-users home
lua-l archive

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


Hi,

I've updated my patch to make the Lua VM fully resumable (yield across
pcall, callbacks, metamethods, iterator functions) for Lua 5.1-work6.

Documentation and download (the patch file itself and a patched-up
distribution) is available from the Wiki:

  http://lua-users.org/wiki/ResumableVmPatch

Comments and test reports welcome!


The update contains no major functional changes. Some internals
have been reorganized. It's now possible get a traceback from
a dead coroutine (like in the baseline). The new operators in work6
(*s and a%b) are of course resumable, too.

A number of fixes for the baseline have been included in the patch:
- MSVC number2int fix.
- *s performance improvement.
- Remove undefined lua_checkpc assertion.

Bye,
     Mike