[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Recipe: setfenv with Lua 5.2.0 work3
- From: Florian Weimer <fw@...>
- Date: Sun, 23 May 2010 11:26:46 +0200
* Enrico Colombini:
> In my adventure-book "Medusa" compiler, I execute user-written
> functions multiple times in slightly different environments that are
> passed around.
Could you install a proxy table for the user-written functions? Then
you could just tweak the proxy, and you never have to change the
environment of the functions themselves.