lua-users home
lua-l archive

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


On Sat, Jun 29, 2013 at 12:26 PM, Meer, H. van der <H.vanderMeer@uva.nl> wrote:
Therefore my question: is it possible to precompile and bind a Lua program into a complete and selfconsistent executable? Either the lua modules only, or even including libraries? And if so, how is it done?

luabuild [1] does this for Lua 5.2.  It uses Jay Carlson's soar to combine your program into a single source archive, and lhf's srlua to bind that archive to a standalone executable. Can also include common modules such as luafilesystem and luasocket into that executable.

[1] https://github.com/stevedonovan/luabuild