lua-users home
lua-l archive

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


On Sat, Apr 21, 2012 at 07:14, steve donovan <steve.j.donovan@gmail.com> wrote:
> On Sat, Apr 21, 2012 at 3:05 PM, Satheesh Kumar
>> Is there an existing pure lua Implementation of the loadstring function?
>
> You mean an implementation that uses no C code whatsoever? A Lua
> compiler/interpreter written in Lua?
>
> steve d.
>

Write the code out to a temporary file and dofile() it? (and hope
nobody replaced your file in the meantime :))

-- 
Sent from my toaster.