[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: FAQ? combining all modules into a single bytecode file
- From: David Manura <dm.lua@...>
- Date: Fri, 1 Aug 2008 00:09:44 +0000 (UTC)
Christian Lindig writes:
> On Jul 31, 2008, at 1:42 PM, Jerome Vuarand wrote:
> > You can try the following script to generate a bytecode file of all
> > the listed modules (see the beginning of the script). Then in your
> > final program, just call dofile("preload.lbc") before using (through
> > 'require' as usual) any of your modules.
>
> Thanks for this idea. Wouldn't it make sense to implement this in
> luac as an option? ...
Check out Pre-Loader, which was announced on this list a few weeks ago:
http://loop.luaforge.net/release/preload.html
http://lua-users.org/lists/lua-l/2008-07/msg00195.html
http://lua-users.org/wiki/BinToCee