[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Using Lua for config files
- From: steve donovan <steve.j.donovan@...>
- Date: Fri, 20 Dec 2013 09:54:22 +0200
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