lua-users home
lua-l archive

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


> 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