#Whitespace, 4723 4584 bytes
S S S T T T T S N
S S T T S N
S S S T N
S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S S T T S T T T T N
S S S T T T T S N
S S T T S T S T S S N
S T S S T N
S N
S S S S T N
S N
S S N
S S N
S S S T T S N
S S S T N
S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S S S T T T T S N
S S S T N
S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S S T T S T T T T N
S S S T N
S N
S S N
S S N
S S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T N
S N
S S S T T T T T T S N
S N
S S N
S S N
S S N
S S S T T S N
S T S S T N
S N
S S N
S S N
S S N
S S N
S S N
S S S T T S T T T T N
S S S T T T T S N
S S T T S N
S T S S T T N
S N
S S N
S S N
S S N
S S N
S S N
S S S T T S T T T T N
S T S S T N
S N
S S N
S S N
S S N
S S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T N
S N
S S S T T T T T T S N
S N
S S N
S S N
S S N
S S S T T S T T T T N
S S T T S N
S S T T T S S S S N
S S T T T S T T T N
S S T T T T T T S N
S N
S S T S S T S N
S S T T T S S S S N
S T S S T S N
S S T T S S T S S N
S T S S T N
S S T T T S S S S N
S S T T T S T T T N
S T S S T S N
S N
S S T S S T S N
S S T T T S S S S N
S S T T S T T T T N
S S T T S N
S T S S T S S N
S N
S S N
S S N
S S N
S S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T N
S N
S S S T T T T T T S N
S N
S S N
S S S T T T S T T T N
S S T T T S S S S N
S T S S T S N
S N
S S S T T S N
S T S S T N
S S S T N
S N
S S T S S T S N
S N
S S N
S S S S T T T T S N
S T S S T N
S N
S S N
S S S S T N
S N
S S T S S T S N
S S T T S T T T T N
S T S S T N
S N
S S S T T T S S S S N
S S T T T S T T T N
S T S S T S N
S N
S S N
S S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T N
S N
S S S T T T S S S S N
S S T T T S T T T N
S S S T N
S S T T T T T T S N
S N
S S N
S S S T T T S T T T N
S S T T S T T T T N
S S T T S N
S S T T T S S S S N
S S T T T S S S T N
S N
S S N
S S S T T T S S S S N
S S T T S S T S S N
S T S S T N
S S T T T S S S T N
S N
S S N
S S T S S T T N
S S T T S T T T T N
S S T T S N
S S T T T S T T T N
S S T T T T T T S N
S N
S S N
S S S S T N
S S T T T S T T T N
S S T T T S S S S N
S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T N
S N
S S S T T S N
S S T T T T T T S N
S S T T T S S S S N
S S T T T S T T T N
S T S S T S N
S S T T S T T T T N
S T S S T N
S N
S S N
S S S T T S N
S T S S T N
S N
S S N
S S N
S S S S T T T T S N
S T S S T N
S N
S S N
S S N
S S S T T S T T T T N
S T S S T N
S N
S S N
S S S T T S N
S T S S T N
S S T T T S T T T N
S S T T T S S S S N
S T S S T S N
S S T T S T T T T N
S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T S N
S N
S S S T T T T T T S N
S T S S T N
S T S S T N
S N
S S S T T S T T T T N
S S T T T S T T T N
S T S S T S N
S N
S S N
S S S T T S T T T T N
S S T T S N
S S S T N
S S T T T S S S S N
S S S T N
S S T T S S T S S N
S S S T N
S T S S T T N
S S S T N
S S T T S T T T T N
S S T T S N
S S T T T T T T S N
S N
S S N
S S S T T T S T T T N
S S T T S N
S T S S T S N
S N
S S S S T T T T S N
S T S S T S N
S T S S T N
S N
S S S T T S T S T S S N
S T S S T S N
S N
S S S T T T T T T S N
S T S S T N
S T S S T N
S N
S S T S S T S N
S T S S T N
S S T T T S S S S N
S S T T T S T T T N
S S T T S T T T T N
S T S S T T N
S N
S S S T T S N
S T S S T N
S N
S S S S T T T T S N
S T S S T N
S N
S S S T T S T T T T N
S T S S T S N
S N
S S S T T S N
S S T T T S T T T N
S S T T T S S S S N
S T S S T T N
S S S T T T T S N
S T S S T N
S N
S S T S S T S N
S T S S T N
S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T N
S N
S S S T T S T T T T N
S S T T T T T T S N
S S T T T S S S S N
S T S S T S N
S S T T T S T T T N
S T S S T T N
S N
S S S T T S T T T T N
S S T T T S S S S N
S S T T T S T T T N
S T S S T T N
S S T T S T T T T N
S N
S S S S T N
S S T T S S T S S N
S S S T N
S S T T S N
S N
S S S T T T T T T S N
S S T T T S T T T N
S S T T T S S S S N
S S T T S N
S T S S T T N
S N
S S S T T T S T T T N
S S T T S N
S S T T T S S S S N
S T S S T T N
S S T T S N
S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T N
S N
S S S T T T T T T S N
S N
S S S T T S T T T T N
S T S S T N
S N
S S N
S S T S S T T N
S T S S T N
S N
S S N
S S T S S T T N
S T S S T N
S S T T S N
S S T T T S T S T N
S S T T T T T N
S S T T T S T T S N
S S T T S T T T T N
S S T T T T T T S N
S S T T S N
S T S S T N
S N
S S N
S S S T T S N
S T S S T N
S N
S S N
S S S T T S N
S T S S T N
S N
S S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T S N
S N
S S S S T N
S N
S S S T T S N
S S S T N
S N
S S N
S S S T T S N
S S S T N
S N
S S N
S S S T T S N
S S S T N
S S T T S T T T T N
S S T T T S T S T N
S S T T T S S T T N
S S T T T S T T S N
S S T T S N
S S S T N
S S T T S T T T T N
S S S T N
S N
S S N
S S T S S T T N
S S S T N
S N
S S N
S S T S S T T N
S S S T N
S N
S S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T S N
S N
S S S T T S N
S S T T T T T T S N
S S T T T S T T T N
S S T T S N
S S T T T S S S S N
S T S S T T N
S N
S S S T T S N
S S T T T S T T T N
S S T T T S S S S N
S T S S T T N
S S T T S N
S N
S S T S S T S N
S S T T S S T S S N
S T S S T N
S S T T S T T T T N
S N
S S T S S T S N
S S T T T S S S S N
S S T T T S T T T N
S T S S T T N
S T S S T T N
S N
S S S T T T S S S S N
S T S S T T N
S S T T T S T T T N
S S T T T T T T S N
S T S S T S N
S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T N
S N
S S S T T T T T T S N
S T S S T N
S T S S T N
S N
S S T S S T S N
S T S S T N
S S T T T S T T T N
S S T T T S S S S N
S S T T S N
S T S S T T N
S N
S S S T T S T T T T N
S T S S T N
S S S T N
S S S T T T T S N
S S S T N
S T S S T T N
S S T T S N
S T S S T N
S N
S S S T T S T T T T N
S S T T T S S S S N
S S T T T S T T T N
S T S S T T N
S S S T T T T S N
S T S S T N
S N
S S T S S T S N
S T S S T N
S T S S T N
S N
S S S T T S T S T S S N
S T S S T S N
S N
S S S T T T T T T S N
S T S S T N
S T S S T N
S N
S S S T T S N
S S T T T S S S S N
S T S S T S N
S N
S S N
S S S T T S N
S S T T S T T T T N
S T S S T S N
S S T T T S T T T N
S T S S T N
S S T T S S T S S N
S T S S T N
S T S S T T N
S T S S T N
S S T T S N
S S T T S T T T T N
S T S S T S N
S N
S S N
S S S T T T S S S S N
S S T T S T T T T N
S T S S T S N
S N
S S S S T T T T S N
S T S S T N
S T S S T N
S N
S S S T T S T S T S S N
S T S S T N
S N
S S S T T S T T T T N
S S T T T T T T S N
S S T T T S T T T N
S S T T T S S S S N
S T S S T S N
S S T T S N
S T S S T T N
S T S S T S N
S N
S S S T T S T T T T N
S S S T N
S N
S S S T T T T T T S N
S S S T N
S S S T T T T S N
S S S T N
S T S S T T N
S S S T N
S N
S S S T T S N
S S T T T T T T S N
S N
S S S T T T S T T T N
S S T T S T T T T N
S T S S T T N
S S T T T S S S S N
S S T T T S T T T N
S T S S T S N
S S T T S N
S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T N
S N
S S S T T T S T T T N
S S T T T S S S S N
S S T T T T T T S N
S N
S S N
S S N
S S N
S S S T T S N
S S T T S T T T T N
S S T T T S T T T N
S S T T T S S S T N
S N
S S N
S S T S S T T N
S S T T S S T S S N
S T S S T N
S S T T T S S S T N
S N
S S N
S S T S S T T N
S S T T S N
S S T T S T T T T N
S S T T T T T T S N
S N
S S N
S S N
S S N
S S S T T T S S S S N
S S T T T S T T T N
S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T N
S N
S S S T T T T T T S N
S S S T N
S N
S S S T T T S S S S N
S S T T T S T T T N
S S T T T T T T S N
S N
S S S T T S T T T T N
S T S S T N
S N
S S N
S S N
S S N
S S N
S S S S T T T T S N
S T S S T N
S N
S S N
S S N
S S N
S S N
S S S T T S N
S T S S T N
S N
S S S T T T S T T T N
S S T T T S S S S N
S S S T N
S N
S S S T T T T T T S N
S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T N
S N
S S S T T T T T T S N
S N
S S N
S S N
S S N
S S S T T S N
S S T T S T T T T N
S S T T T S T T T N
S S T T T S S S S N
S S S T N
S N
S S T S S T S N
S S T T T S T T T N
S S T T T T T T S N
S S T T S S T S S N
S T S S T N
S S T T T S T T T N
S S T T T S S S S N
S S S T N
S N
S S T S S T S N
S S T T T S T T T N
S S T T S N
S S T T S T T T T N
S S T T T T T T S N
S N
S S N
S S N
S S N
S S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T N
S N
S S S T T T T T T S N
S N
S S N
S S N
S S N
S S S T T S T T T T N
S T S S T N
S N
S S N
S S N
S S N
S S N
S S N
S S S T T S N
S S S T T T T S N
S S T T S T T T T N
S T S S T T N
S N
S S N
S S N
S S N
S S N
S S N
S S S T T S N
S T S S T N
S N
S S N
S S N
S S N
S S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T N
S N
S S S T T T T T T S N
S N
S S N
S S N
S S S T T S T T T T N
S T S S T N
S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S S S T T T T S N
S T S S T N
S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S S T T S N
S T S S T N
S N
S S N
S S N
S S S S T T T T S N
S N
S S S T T S T S T S S N
S T S S T N
S S T T S T T T T N
S S S T N
S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S S T T S N
S S S T T T T S N
S S T T S T S T S S N
S S S T N
S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S N
S S S T T T T T T S N
N
S S N
S S S T S T T T T S N
T S S S T N
S S N
S N
N
Letters S
(space), T
(tab), and N
(new-line) added as highlighting only.
Explanation:
I use the approach explained in this Whitespace tip of mine. The approach described is as follows:
- First push the values minus a constant value for every character we want to output in reversed order to the stack
- Then create a LOOP, and inside this loop we do:
- Pop the current top of the stack
- Add the constant value to this current value
- Print this new value as character to STDOUT
- Go to the next iteration of the loop
- This will exit with an error that it needs two values on the stack when using the add function after we've outputted every character.
The ideal constant value was 94
, which I've generated with this Java program. Using 94
would give a Whitespace program with a total length of 7508 bytes (7481 + 27 bytes for the loop), or 5791 bytes (5764 + 27) if we already implement Duplicate Top (SNS
) wherever two of the same characters are adjacent.
After that I manually used Copy 1st (STSSTN
), Copy 2nd (STSSTSN
), and Copy 3rd (STSSTTN
) (1-indexed) wherever it would save bytes. Which can also be found at the Whitespace tips. Which in total resulted in the 4584 bytes program you see here.