~gloatingfiddle/xkcd-2637-encoding

A CLI tool to perform encoding as seen in https://xkcd.com/2637

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~gloatingfiddle/xkcd-2637-encoding
read/write
git@git.sr.ht:~gloatingfiddle/xkcd-2637-encoding

You can also use your local clone with git send-email.

#XKCD Roman Numeral Encoding

This is a little toy encoder that implements the encoding demonstrated in the alt-text of XKCD 2637.

I make a few opinionated changes to have the encoding be reversible, which unfortunately ruins the joke in the alt-text. I am considering making that a command-line option, however.

It could also be fun to have the decoder spit out every possible decoding of the text input.