lua-users home
lua-l archive

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


On Tue, Jan 8, 2013 at 12:19 PM, Thijs Schreijer
<thijs@thijsschreijer.nl> wrote:
> In general I would agree to that, but it is also a very defensive point of view. I would like to see where this is going and whether it can be sandboxed well enough to be safe enough (whatever that might be).

My attempt in Penlight is pretty.load:

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

(If anyone can get a hack past that, please let me know, since I'd
like it to bullet-proof as possible.)

But, if I was wearing a pure-C-programmng hat, I'd prefer a
specialized parser without a full programming language ;)

steve d.