lua-users home
lua-l archive

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




On Tue, Mar 3, 2015 at 3:22 AM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> srlua takes and embeds 1 lua file.
 
However, luac does not handle
requiring bundled files. You could write a replacement for require that
does that.

That is exactly what the many2one script does after adding the required lua files as string chunks in the main lua file.