[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: idea of vision of blueprint of ROADMAP of Lua core
- From: Wim Couwenberg <w.couwenberg@...>
- Date: Fri, 14 Jan 2005 20:27:55 +0100
- proxy constructions
Did I miss something? I thought this proxy stuff was not part of the
language, but rather a common lua pattern.
There is an (undocumented?) function "newproxy" in the baselib. But
actually I meant the proxy idea in general, which is related to...
+ __settable, __gettable metamethods
As I see it, those are meant to be counterparts to __index and
__newindex, with the difference that they intercept accesses to values
already defined in the table. With those one could get rid of the
Exactly. ("settable" and "gettable" were tag methods in Lua 4, hence my
notation. Maybe __getindex and __setindex would be more appropriate Lua