pkulchenko / ZeroBraneStudio

Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and other Lua interpreters on Windows, macOS, and Linux
http://studio.zerobrane.com/
Other
2.62k stars 519 forks source link

minifier plugin or tool? #1172

Open atesin opened 8 months ago

atesin commented 8 months ago

working for tic80 (or any constrained platform), space is important, so i was thinking about a (reversible?) lua code minifier... i know zero about minification, only i know is done basically by shorting variable/functions/etc names and stripping unneeded non visible chars (spaces, etc)

i remember mojang once released a table to reverse variable names in minecraft decompiled java bytecode... so i think (de)minification could be automated and be reversible my saving a file with original names

does exist any menu/plugin to do this in zerobrane?, does zerobrane support plugins/mods?, if not, is there some other way to achieve this?