luasrcdiet icon indicating copy to clipboard operation
luasrcdiet copied to clipboard

Compresses Lua source code by removing unnecessary characters (updated fork of http://luasrcdiet.luaforge.net/)

Results 7 luasrcdiet issues
Sort by recently updated
recently updated
newest added

Many of my Lua codebases are spread across many files. Would it be possible for LuaSrcDist to resolve simple imports automatically? Example codebase: https://github.com/sbrl/Minetest-WorldEditAdditions/tree/main/worldeditadditions ....though I suspect that in my...

luasrcdiet doesn't support bitwise operator ``` lua: ...me/user00/.luarocks/share/lua/5.3/luasrcdiet/lparser.lua:96: (source):11371: ')' expected near '&' stack traceback: [C]: in function 'error' ...me/user00/.luarocks/share/lua/5.3/luasrcdiet/lparser.lua:96: in upvalue 'errorline' ...me/user00/.luarocks/share/lua/5.3/luasrcdiet/lparser.lua:126: in upvalue 'syntaxerror' ...me/user00/.luarocks/share/lua/5.3/luasrcdiet/lparser.lua:130: in upvalue...

To create better structured sourcecode, it is sometimes useful to define some important variables at the start of the script, although they are only used once in the code (e.g....

The luasrcdiet report error when I use it to process the dump.lua file, with this error: lua.exe: .\luasrcdiet\llex.lua:93: [string]:323: malformed number The command line I use is: `bin/luasrcdiet --maximum %sourceFile%...

- `'a=0.0'` > `'a=.'` - `table[ [[1]]]` > `table[[[1]]]` - `a=1 & 1` will raise "unexpected symbol near '&'". They will raise error when load.

Hi~ Everything is OK, except code `assert((select(2,pcall(function() return true ~ nil end))):find'attempt to perform bitwise operation on a boolean value')` Will get: > /luasrcdiet\lparser.lua:96: (source):4: 'end' expected near '~' stack...