lua-users home
lua-l archive

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


In article
<CA+ZMS_v6qA6rJ7L19erMN-s8LWnKHXV1QAFp=0iEV_f=knEcAg@mail.gmail.com>, steve
donovan <steve.j.donovan@gmail.com> wrote:
> On Fri, Nov 1, 2013 at 11:33 AM, Michael Gerbracht <smartmails@arcor.de>
> wrote:
> > standard lua program into an .exe file so that it runs standalone. But
> > how can you do this if the lua script is called from LuaInterface?

> The actual scripts can be glued together - for Windows exes they can saved
> as a resource, rather than the generic srlua approach. One would write a
> custom loader that would lead to require() ending up loading a script from
> those resources. But some components will have to be DLLs and a reasonably
> intelligent installer can handle that issue.

Thanks for your answer and sorry for my late reply. I am not sure I do want
to go this way as it seems to be quite complicated, but I will keep it in
mind as an option.

My main concern was that other people who would like to use my program would
need to install lua on their system. This can be a problem if they already
have installed another version of lua on their system. But maybe my
understanding of LuaInterface is wrong: I thought that you need LuaInterface
plus lua itself as interpreter. Is this correct or does LuaInterface include
its own lua interpreter? So if I have a .net program + LuaInterface + lua
scripts, do I actually need to install lua on the target system as well?

thanks,
Michael