LuaSrcDiet

Compresses Lua source code by removing unnecessary characters

$ luarocks install luasrcdiet

LuaSrcDiet reduces the size of Lua 5.1+ source files by aggressively removing all unnecessary whitespace and comments, optimizing constant tokens, and renaming local variables to shorter names.

This is revival of LuaSrcDiet originally written by Kein-Hong Man.

Versions

1.0.0-27 years ago6,950 downloads
dev-0dev7 years ago(revision: 16)113 downloads
0.3.0-27 years ago1,147 downloads
0.2.0-27 years ago57 downloads

Dependencies

lua >= 5.1

Dependency for

luapak

Labels

Manifests