It would be really nice to have the option to keep all statements at the same line number as they are in the input, for debugging errors in minified code.
Current output:
for a=1,10 do for b=1,10 do for c=1,10 do if c^2+b^2==a^2 then print('found a Pythagorean triple:',c,b,a)goto d end end end end::d::
Proposed output:
for a=1,10 do
for b=1,10 do
for c=1,10 do
if c^2+b^2==a^2 then
print('found a Pythagorean triple:',c,b,a)
goto d
end
end
end
end
::d::
It's pretty much the same size anyway, some spaces just turn into newlines.
It would be really nice to have the option to keep all statements at the same line number as they are in the input, for debugging errors in minified code.
Current output:
Proposed output:
It's pretty much the same size anyway, some spaces just turn into newlines.