lua-users home
lua-l archive

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


> >PS: Btw, why does dostring rejects precompiled code at the moment?  Is it
> >considered too dangerous?  Afaics it should work.
> 
> Besides being a little dangerous, there's no way to get precompiled code
> except from a file. In that case, why not use dofile instead?

We are looking at using lua in an embedded environment where there is no
file system.  I can imagine situations where we might want to send precompiled
code to the system over the communications link.

Another example might be a workflow system where trigger functions were
stored in a database.

-- cary


> --lhf
>