lua-users home
lua-l archive

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


> srlua takes and embeds 1 lua file.

That is correct but that Lua file can be the output of luac, and luac
does combine several files into one. However, luac does not handle
requiring bundled files. You could write a replacement for require that
does that. You can also use my luac.lua which can be told to mark some
bundled file as pre-required. However, luac.lua is not portable and is
only available for Lua 5.1 and in 32-bit platforms.