lua-users home
lua-l archive

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

> 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.