lua-users home
lua-l archive

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



* On 2009-04-22 Fabien <fleutot+lua@gmail.com> wrote  :

> Your language being a subset of Lua, can't you simply use the Lua compiler,
> in a severely restricted sandbox?

Yes, it's no coincedence that this is a subset of lua, because until now
I just do some trivial rewriting and feed the data to loadstring(). The
problem is that in future versions of the application the input for
these files can come from untrusted sources, and I'd like to create a
more robust solution to avoid problems caused by unexpected input like
neverending loops.

> Alternatively, mlp (metalua's parser) produces decent error messages in
> response to incorrect entries.

Ok, thanks for the tip, I will look into this.

Ico

-- 
:wq
^X^Cy^K^X^C^C^C^C