Creating standalone Lua executables

h3rald picture h3rald · Oct 11, 2008 · Viewed 43.8k times · Source

Is there an easy way to create standalone .exe files from Lua scripts? Basically this would involve linking the Lua interpreter and the scripts.

I believe it is possible (PLT Scheme allows the creation of standalone executables in the same way), but how, exactly?

Answer

Edwin Jarvis picture Edwin Jarvis · Oct 11, 2008

Check out for srlua. It does what you need.

It's from one of the Lua authors. On this address there is also pre-compiled Windows binaries, so that would be even easier for you I think.