lua-users home
lua-l archive

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


On Thu, Dec 19, 2013 at 9:29 PM, Petite Abeille
<petite.abeille@gmail.com> wrote:
> I suspect wiping out all the metatables would not hurt either:

Oh yes, particularly for strings!  The Penlight pretty.read (in
paranoid mode) does this as well as checking for 'function' keyword.

https://github.com/stevedonovan/Penlight/blob/master/lua/pl/pretty.lua#L41