Thanks for all your hard work on this, very promising.
Unfortunately I see a parsing error when there is no leading 0 before the decimal point, so:
results in output:
←[0m←[31mPROMETHEUS: Parsing Error at Position 1:12, Unexpected Token ".". Expected a Expression!←[0m
whereas this generates without issue:
I have seen a similar situation in other minifiers/obfuscators where the absence of a number after the decimal point prevents generation (not the case here).
- Lua version: lua-5.1.5 Win64
- Command line:
lua5.1.exe cli.lua --preset Medium test.lua
- Tested with various presets