This is what luac -o does already. It can compile multiple lua files into one luac file.
On Apr 8, 2012, at 2:16 PM, Franklin Dijkstra wrote:
> Compile .lua files into .luac files and then you can compile all the .luac
> files into one file
If your own lua code can withstand such repackaging out-of-the-box is another question altogether. Some assembly might be required.