lua-users home
lua-l archive

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


Chunks are fairly simple, can't you just concatenate the binary files
together. As long as there are no symbol clashes it should be ok.

-----Original Message-----
From: Luiz Henrique de Figueiredo [mailto:lhf@tecgraf.puc-rio.br]
Sent: Monday, April 16, 2001 11:54 PM
To: Multiple recipients of list
Subject: RE: luac - output into ONE bytecode file?


>> Having an option to feed luac for instance that says
>> "stuff it ALL into one file" would help a lot.
>
>Why not just concatenate your source text files into a single source text
>file, and then run luac over that?

luac already accepts several inputs files and outputs a single bytecode file
whose execution is equivalent to the execution of the input files.
That's the default behavior. Or are the usage message and man page unclear??
--lhf