[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: srlua and other methods
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 17 May 2007 08:33:14 -0300
> This is not a great alternative, but it is something I've found to work
> in simple cases. Compile all modules together and then glue the binary
> to srlua. The modules must be ordered by dependency in the compile
> command, and the modules can't use "module(...)".
You can also use replacements for require and dofile (but you probably
still need to order them by dependency). A Lua Gem titled "Lua Script
Packaging" has been proposed by Han Zhao on this subject.