BittyLang
One byte, three commands, and no loops.
None1, 2024 · Turing complete: no · ●○○ easy · esolangs.org
Tested with 3 known programs · Test method
Run it
The idea
None1 made BittyLang in 2024. It is brainfuck cut down to a single cell, with no tape, no loops and no input. Every program runs once from left to right and stops, so the language is total. All it can do is walk the byte up and down and print it on the way.
The machine
| Char | Does |
|---|---|
+ | Add 1 to the byte, 255 wraps to 0 |
- | Subtract 1, 0 wraps to 255 |
. | Print the byte as a character |
Everything else is ignored.
Example
E is 69 plusses and a dot.
E is 69 plusses and a dot. 222 is 50 plusses and three dots, written for the author's 222nd language.
Hello World goes up from H and back down to the comma, the space and the !.
Patterns it teaches
- Encoding tricks: text as the distance from one character to the next.
Further
See also
BittyLang builds on Brainfuck.
Esoteric subset
Generated by AI
Write your own in Run Convert a program from BittyLang
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: bittylang.
Command line
shib run bittylang -e '++++++++++++++++++++++++++++++++++++++++++++++++++...'shib manual bittylangSource
- Module
langs/wiki/ports.js- Interpreter
langs/wiki/bittylang.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org