Penis
Binary, written as one word said again and again, each time with more exclamation marks.
Ultraslayyy, 2026 · Turing complete: no · ●○○ easy · esolangs.org
Tested with 3 known programs · Test method
Run it
The idea
Penis is named after the penis game, where players say the word in turn, each louder than the one before. Every bit is the word penis, and the number of ! after it keeps count. The first word is penis for a 0 or penis! for a 1. Each word after it has one ! more than the word before for a 0, and two more for a 1.
Read the story
So the count never goes down, and a program grows with the square of what it writes. The specification says a basic Unix Hello World executable of 168 bytes takes 981,045 characters this way.
The idea sat on the esolangs.org List of ideas, and esolangs.org traces it to an edit by Krobb on 7 August 2015. Ultraslayyy wrote the compiler, and esolangs.org credits her as the designer until the original author steps up.
The machine
| Word | Bit |
|---|---|
penis as the first word | 0 |
penis! as the first word | 1 |
one ! more than the word before | 0 |
two ! more than the word before | 1 |
A ! that does not follow penis starts a comment, and the next ! ends it. The compiler writes the bits into a file of any format. They print as bytes, eight bits each with the high bit first. Any other count of !, or bits left over at the end, stops the run with an error.
Example
The Hi.
The Hi. The counts on the first line go 0, 2, 3, 4, 6, 7, 8, 9, which is 01001000, the H. The second line goes on from 9 for the i, 01101001.
A comment sits between two ! that no penis comes before.
Patterns it teaches
- Encoding tricks: a bit is the difference between two counts.
Further
See also
Also in Jokes
Write your own in Run Convert a program from Penis
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: penis.
Command line
shib run penis -e 'penis penis!! penis!!! penis!!!! penis!!!!!! penis!!!!!!! penis!!!!!!!! penis!!!!!!!!! ! H → 01001000 !'shib manual penisSource
- Module
langs/wiki/ports.js- Interpreter
langs/wiki/penis.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org