[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: srlua and other methods
- From: Thomas Lauer <thomas.lauer@...>
- Date: Thu, 17 May 2007 09:22:32 +0100
Remo Dentato <rdentato@hotmail.com> wrote:
> I was looking for a way to package my C/lua application in a single
> executable and the method offered by srlua (thanks Luiz!) is appealing
> to me because I could offer to advanced users the ability of modifying
> the lua parts and generate a new executable without requiring a C compiler.
>
> It seems however that srlua deals with a single lua file while I have
> some modules and lua files that use "require()" to load them.
How about taking luac.c (especially the combine() function used to bind
multiple .lua files) and adding the srlua glue stuff, so that the
compiler uses this as a sort of "backend" to produce executables? At
least, this worked for me.
--
cheers thomasl
web : http://thomaslauer.com/start