> (...) the Whitespace interpreter ignores any non-whitespace characters (...) A consequence of this property is that a Whitespace program can easily be contained within the whitespace characters of a program written in another language (...) making the text a polyglot.
This is actually pretty brilliant as a sort of steganography in code type thing.
So one could write an interpreter for Whitespace along with Whitespace code to run in the interpreter, so that the interpreter interprets itself. Hard to do better at maximizing the usage of negative space!
Whoa, you just blew my mind. We need this in our lives :)
brainfuck interpreter in Whitespace to confirm its superiority: https://allisio.xyz/bf.ws.html
Though perhaps some sicker soul has in fact written a Whitespace interpreter in brainfuck...
I once made a language that translated directly to Whitespace, but used images as source code. Pixels where red channel had the highest value were like Whitespace's spaces, green channel - tabs, and blue channel - new lines. If the highest value was shared across multiple channels, it was ignored.
[1] https://en.wikipedia.org/wiki/Whitespace_(programming_langua...