OpenBSD toaster
Nine lines of praise for OpenBSD, shouted in capitals, and two stacks of bytes underneath.
Dragoneater67, 2026 · Turing complete: yes · ●○○ easy · esolangs.org
Tested with 4 known programs · Test method
Run it
The idea
Dragoneater67 made OpenBSD toaster in 2026. The specification says it was made to game EQRS by doing the bare minimum to get a high rating. Every instruction is a whole line in capitals that praises OpenBSD and ends in three exclamation marks. Apart from input, the only number a program can push is 1, so every other value is built by duplicating and adding. The specification shows how each command of BitBrain-R becomes a few of these lines, which makes it Turing complete.
The machine
There are two stacks of bytes, A and B, both empty at the start. The lines run top to bottom.
| Line | Does |
|---|---|
I LOVE OPENBSD!!! | Push 1 on A |
OPENBSD CAN BE RUN ON A TOASTER!!! | Pop two, push their sum |
EVERYONE MUST INSTALL OPENBSD!!! | Duplicate the top |
OPENBSD IS THE MOST SECURE OPERATING SYSTEM EVER!!! | Swap the stacks A and B |
THEO DE RAADT IS THE SMARTEST!!! | Move the top of A to B |
THANK YOU OPENBSD FOR INVENTING TLS!!! | Pop; on 0 jump past the matching SSH line |
THANK YOU OPENBSD FOR INVENTING SSH!!! | Pop; on anything else jump back past the matching TLS line |
OPENBSD IS LIFE!!! | Push a byte of input, if one is left |
OPENBSD IS LOVE!!! | Pop and print it as a character |
A sum wraps around at 256, as bytes do. Popping an empty stack crashes the program.
Example
The one time cat.
The one time cat.
The XKCD random number. One I LOVE and five doublings make 32, the next four doublings make 16 and the last two make 4. Three sums give 52, the character 4.
The cat loops while the byte it read is not 0. At the end of the input there is nothing left to duplicate, so it crashes, after it has printed everything.
The Hello, world! is 600 lines. It builds the 14 bytes backwards, the line feed first, and then prints them with 14 OPENBSD IS LOVE!!! lines. Its truth machine prints the byte it read and adds 208. A 0 is 48, and 48 + 208 = 256 wraps to 0, which ends the program; a 1 gives 1 and prints 1 forever.
Patterns it teaches
- Stack machines: two stacks, and only the number 1 to start from.
- Turing tarpit: nine instructions that still reach BitBrain-R.
See also
Pseudonatural
Stack-based
Write your own in Run Convert a program from OpenBSD toaster
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: openbsd-toaster.
Command line
shib run openbsd-toaster -e 'OPENBSD IS LIFE!!!
OPENBSD IS LOVE!!!' --input 'x'shib manual openbsd-toasterSource
- Module
langs/wiki/ports.js- Interpreter
langs/wiki/openbsd-toaster.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org