3 ms·
You can start a lua VM with an empty environment (basically no standard library).
by imtringued 6y ago
You can start a lua VM with an empty environment (basically no standard library).
- adwn 6y agoThe first thing any scripting-language-used-as-flexible-config-files will want to add is a way to include shared config files, typically with computed (i.e., non-constant) file names or paths. It's possible to sandbox this, but also rather complex compared to a non-executable data file format.
- Dylan16807 6y agoYou're going to want the ability to pull in shared config files whether you're using a scripting language or not. And the way you need to sandbox those paths is roughly the same either way.