lua-users home
lua-l archive

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


Hi,

David Given wrote:
> Does anyone know if the resumable VM patch is available for either 5.1rc or 
> 5.0?

Nope. But there's Coco which is functionally the same for your
purposes. I'll release an update to Coco whenever Lua 5.1 final
is out. Mail me if you need a pre-release against 5.1-rc4.

> I still don't know why this isn't working, either (it doesn't work on vanilla 
> 5.1rc either).

IMHO it's better to find out the reason for this. It may point to
a mistake in your program or a misunderstanding. The example you
gave runs fine with a plain Lua script. My guess is that you are
using pcall() or a callback from C code somewhere in a coroutine.

Bye,
     Mike