Brainsplosion
Brainfuck with the tape, the loops and the input taken out. One number is left, and it can only count and print.
Lilliepadlol · Turing complete: no · ●○○ easy · esolangs.org
Tested with 2 known programs · Test method
Run it
The idea
Lilliepadlol made Brainsplosion as a joke, a stripped down brainfuck. There is no tape, only one constant that starts at 0. It can go up or down by one, or be multiplied or divided by ten, which makes the digits of a character code cheap to type. There are no loops and no input, so every program ends.
Read the story
The Hello world program is ABACA, because, the specification says, ABACA is much easier.
The machine
| Command | Does |
|---|---|
+ - | Add 1 or take 1 |
< | Multiply by 10 |
> | Divide by 10, keeping the fraction |
. | Print the constant as a number |
, | Print the character with that code |
This implementation follows the Node one-liner in the specification, so > makes fractions and . writes numbers the way JavaScript does.
Example
Six, times ten, plus five is 65, an A.
Six, times ten, plus five is 65, an A. From there each letter is one or two steps away.
Further
See also
Also in Jokes
Write your own in Run Convert a program from Brainsplosion
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: brainsplosion.
Command line
shib run brainsplosion -e '++++++<+++++,+,+,'shib manual brainsplosionSource
- Module
langs/wiki/ports.js- Interpreter
langs/wiki/brainsplosion.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org