Whizz
No tape and no stack. Named numbers, one of them selected, and a loop that only ends from inside.
splot.dev, 2026 · Turing complete: yes · ●○○ easy · esolangs.org
Tested with 2 known programs · Test method
Run it
The idea
splot.dev made Whizz in the summer of 2026. It calls itself a Turing tarpit with more structure than most. brainfuck's + and - stay, but they work on a variable picked by name instead of a cell on a tape, and there are functions you can call by name. The only loop runs forever. A ; inside it ends the loop when the selected variable is 0, and every if is built from that.
The machine
| Command | Does |
|---|---|
name | Select a variable, making it with 0 the first time |
+ - | Add or take 1 |
5+ 5- | Do it 5 times |
~ | Set a number from 1 to 1,000,000 |
! ? | Print the character with that code; read one |
( ... ) | Loop forever |
; | Leave the loop if the variable is 0 |
name{ ... } name* | Define a function; call it |
[ ... ] | A comment |
Spaces only separate one name from the next, so a b selects two variables and ab one.
Example
The loop from 0 to 9, minimized.
The loop from 0 to 9, minimized. c counts down from 10, n is the digit and s the space.
The if. The loop runs at most once, because ZERO; always leaves it.
A function that prints and then puts its variables back to 0, called twice.
Patterns it teaches
- Turing tarpit: the specification proves it with brainfuck on five unbounded cells.
Further
See also
Also in Turing tarpits
Write your own in Run Convert a program from Whizz
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: whizz.
Command line
shib run whizz -e 'c10+n48+s32+(n!+c-;s!)'shib manual whizzSource
- Module
langs/wiki/ports.js- Interpreter
langs/wiki/whizz.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org