esolang

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

Expected: E

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

CharDoes
+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.

Expected: 222

Hello World goes up from H and back down to the comma, the space and the !.

Expected: Hello, World!

Patterns it teaches

Further

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 bittylang

Source

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