lua-users home
lua-l archive

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


You just specify the source files and luacc will generate you a single one. When I faced with this simple task I didn't find something really simple to use that I can use in automatic way. Btw, I can rename it to Yet Another Lua Code Combiner =)

What I would really like is a tool that transparently works for multi-file Lua programs for which the dependencies are either themselves Lua files or native (compiled) ones. 
Then, the tool would auto-magically take care of repacking (potentially, fetching the dependencies and recompiling them) everything as one single fat binary or a single fat Lua file. 
It could go even one step further, that is producing a single executable file which embeds the LuaVM itself, following the recent trend of unikernels.

I keep on dreaming :-)


On 21 March 2017 at 12:27, Pierre Chapuis <> wrote:
March 21, 2017 10:09 AM, "Miha Cooper" <> wrote:

> As a side project I have developed a very small tool to combine several Lua source file into single
> one. It helps me for delivering/deployment and I hope it will be helpful for you.

Hello Miha,

can you compare it to the various alternatives that exist such as
soar, which is the one I use myself? What does it do better or


With best regards,
Kupriyanov Mikhail.