[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re[2]: requiring modules with a C and Lua part
- From: Alen Ladavac <alenl-ml@...>
- Date: Thu, 2 Nov 2006 19:53:11 +0100
> I've had some thoughts of my own on this... the embedding of lua
> code within the binary file; but I don't want to lose the advantage
> of being able to modify LUA code "on the fly". To that end I have toyed with the idea of:
> 1. Creating a "bundled" executable, that contains embedded LUA code.
> 2. Add options to the executable to "extract" the code to real files.
> 3. Add option to the executable to "re-embed" the lua code if changes are made.
Perhaps look into something like the self-extract zip format. Just
append a zip archive to the end of the executable, and have the
executable look at its end to check for the zip footer. Then people
can zip/rezip such things using normal zip tools.
JM2C,
Alen