lua-users home
lua-l archive

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


Am 08.04.12 18:18, schrieb Franklin Dijkstra:
> I kinda ment the same way Java does it, include all libs in a jar, so
> people only need to download the JRE. But then the same with lua. So
> people dont have to download a GUI lib and a aduio lib etc to get it
> working.

And what about Lua modules that are written on other languages than Lua,
like e.g. C bindings?

I think what you propose will not work.

> 
> 2012/4/8 Petite Abeille <petite.abeille@gmail.com
> <mailto:petite.abeille@gmail.com>>
> 
> 
>     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
> 
>     This is what luac -o does already. It can compile multiple lua files
>     into one luac file.
> 
>     If your own lua code can withstand such repackaging out-of-the-box
>     is another question altogether. Some assembly might be required.
> 
> 
>