lua-users home
lua-l archive

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


>>>>> "Philippe" == Philippe Verdy <verdyp@gmail.com> writes:

 Philippe> I'm not inventing the [[...]] notation:

Well, you'd need to invent something else, because [[...]] already has a
meaning in Lua. (t[[x]] is actually a function call, though not a very
obvious one.)

But more significantly: having language constructs to get at the
metatable, rather than using functions for it, makes life considerably
harder for sandboxing.

-- 
Andrew.