[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] luaproc 1.0-4
- From: Hisham <h@...>
- Date: Tue, 6 Oct 2015 01:29:01 -0300
On 6 October 2015 at 00:49, Mason Bogue <scythe+lua@ortsz.com> 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