[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua that generates executables?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 16 Nov 2004 22:05:34 -0200
> Zip, Tar, CPIO... I think any proposal has to include support of dynamic
> module loading.
Actually, srlua already contains a simple support for that: the glue program
accepts a 4th, optional, argument, a single letter which it uses in the glue
signature. The default is 'L', as in "%%glue:L". 'L' is for Lua, of course.
But we could use 'Z' for zip files, 'T' for tar files, etc. srlua.c would have
to be extended to handle these, of course.
The point of all this is orthogonality. glue helps you append arbitrary data
to an executable. The interpretation of what you do with the data is up to
you, but at least glue helps you send this information to the running program.