lua-users home
lua-l archive

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


>> This is version 1.0-4. It supports Lua **functions*** as arguments to
>> create new Lua processes - previously it only supported Lua code strings -
>> and fixes a few bugs.

:D nice work!

> What happens when functions have upvalues?

Only constant upvalues are allowed (number, string, boolean); others
raise an error. Nested upvalues could get really hairy, after all. See
luaproc_copyupvalues() in luaproc.c.