lua-users home
lua-l archive

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

On 6 October 2015 at 00:49, Mason Bogue <> wrote:
>>> 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.

Oh, good! — that's quite sensible.

-- Hisham