[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Lua that generates executables?
- From: "Andre Carregal" <carregal@...>
- Date: Tue, 16 Nov 2004 19:29:05 -0300
I have to agree that zipping Lua files usually does not offer much
advantage, unless you are already offering the Zip library, as is the Kepler
We are about to release a new version of LuaZip followed by our Lua ARchive
(LAR) module. We had LAR ready for a while, but with the incoming Compat-5.1
module it seemed a better idea to hold it a bit more.
We are aiming on an easy deployable format for Kepler applications, but LAR
could be used anywhere that needs to make things more compact.
Basically it allows someone to transparently access files (with require,
loadfile and io.open) inside the .lar archive. For example:
would work for any of
/a/b.lar (with c.lua zipped)
/a.lar (with b/c.lua zipped)
> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org]On Behalf Of Ivan Kolev
> Sent: Tuesday, November 16, 2004 6:04 PM
> To: Lua list
> Subject: Re: Lua that generates executables?
> Luiz Henrique de Figueiredo wrote:
> > If you want to load and run all at once, precompile them
> with luac and glue
> > the output of luac.
> Yes, this sounds reasonable for most occasions, I suppose.
> > Yes, it can be done. But I have slightly different plans in
> that direction...
> > (Though not much time to do it. Of course, anyone is
> welcome to do it.)
> I don't actually need this right now (as Philippe mentioned,
> there's no point to zip the scripts in most cases), I was
> trying to hint to something like Java's .jar files, i.e. more
> along the lines of a robust package system. Maybe Roberto's
> package proposal is going to address all these topics...