lua-users home
lua-l archive

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


On Wed, Oct 5, 2016 at 4:51 PM, Meer, Hans van der <H.vanderMeer@uva.nl> wrote:
> A question about luac. Do I understand correctly that luac precompiles the given lua file only and does not include the modules called in by a require statement inside? More precisely, that it does not generate something functioning as a 'fully linked standalone binary'?
> And if I am right in this, is it possible to generate such a 'standalone binary', allowing one to call one file with all necessary precompiled code inside?
>
> Hans van der Meer
>
>
>
>
>

This thread is turning out to be a list of ways to build standalone
Lua applications so please allow me to chime in.

My tool [1] allows building standalone binaries from MoonScript, plain
Lua and C modules. Just follow the instructions in the README.

[1] https://github.com/tongson/omnia

Cheers!