Hell69
Every character is spelled as its hex code times 69, and every 0 becomes 69.
Areallycoolusername, 2019 · Turing complete: no · ●○○ easy · esolangs.org
Tested with 3 known programs · Test method
Run it
The idea
Areallycoolusername made Hell69 in 2019. The specification says it is called Hell because coding in it is meant to be hell, raised to the 69th power as a joke. A program can only print. Each character is written as a Hell code, and each code stands between two marks, /-/31169, which spell HELL69.
The machine
A Hell code starts from the hex code of its character. The two hex digits of A, 0x41, are read as the decimal number 41 and multiplied by 69, which gives 2829. A letter digit is kept apart. J is 0x4a, so the 4 is multiplied by 69 to give 276, and the a moves one letter on to b. Last, every 0 is written 69, the 0 of 0x as well.
| Character | Hex | Hell code |
|---|---|---|
| A | 0x41 | 69x2829 |
| J | 0x4a | 69x276b |
| space | 0x20 | 69x13869 |
| ! | 0x21 | 69x1449 |
White space is ignored, so a program can break its line anywhere. A code that belongs to no character is an error, and then nothing is printed. A few control characters share a code; there the lower one wins, so 69x69b is a line feed.
Example
The Hello World, in its two lines.
The Hello World, in its two lines.
The two codes, with the marks the specification asks for. One mark between them serves both.
Patterns it teaches
- Encoding tricks: the hex digits are misread as decimal on purpose.
Further
See also
Also in Jokes
Write your own in Run Convert a program from Hell69
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: hell69.
Command line
shib run hell69 -e '/-/3116969x2829/-/31169'shib manual hell69Source
- Module
langs/wiki/ports.js- Interpreter
langs/wiki/hell69.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org