[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Restricted parsing for static config files / more granular `load()` options for 5.4
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 12 Mar 2017 16:25:51 -0300
> TLDR: just like we can disable bytecode loading, we should be able to
> disable certain language constructs, creating fully sandboxed configs
You can disable most keywords with a token filter in C or ltokenp.
See also http://lua-users.org/lists/lua-l/2014-03/msg00449.html .