💾 Archived View for freeshell.de › gemlog › 2023-11-08_WhitespaceHex.gmi captured on 2023-12-28 at 15:29:46. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-14)

-=-=-=-=-=-=-

WhitespaceHex

I read a post about converting base 10 to hex.

Dominique wrote a bash script to do it

I thought I'd try Whitespace for this task (for fun)

It wasn't too hard (assuming using WS assembler is allowed)

If I post the code here, oops, you wouldn't see much because it's all white space.

But hold on a moment there.

You may be thinking this:

"Funny looking text in this post..."

Or your client might tidy up:

if so,

try telling your client to show the raw gemtext without rendering it and then you might see what's odd about it.

So actually I did post Whitespace

This post is the code.

In this language any non white space characters are comments, or in this case, a gemlog post

The same text is performing two functions, which is pleasing. I can't control where the line breaks (and hence paragraphs) go because that's white space and I have to leave that wherever it's been put.

And I can't be bothered to fill in

all the lines so there's lots of "nothing" below.

#whitespace

back to gemlog