ers35 / luastatic

Build a standalone executable from a Lua program.
Creative Commons Zero v1.0 Universal
775 stars 41 forks source link

enhancement: use precompiled lua objects #15

Closed cehteh closed 7 years ago

cehteh commented 7 years ago

The output of luac -s some.lua works already (luac.out needs to be renamed as luac.lua) and gives much smaller binaries.

Some more streamlined option handling which allows precompiling lua scripts would be nice.

ers35 commented 7 years ago

Files ending in .luac are already supported. For example: luac -o main.luac main.lua luastatic main.luac