Brainfuckest
Brainfuckest is an esoteric programming "language" that represents brainfuck programs using all valid numbers, letters, and puncuation (excluding brackets).
How it Works
The following is a list of all the valid brainfuckest characters in order (including the space between M and the comma):
0123456789qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM ,.?!;:
When running a brainfuckest program, it first converts the string you gave it into a number, it does this by finding the index of all the characters in the string into numbers corresponding to the list above. for example:
qwerty
becomes:
10 11 12 13 14 15
Then it runs through the list, and adds the result of the current index (starting from 0) multiplied by 69 to each item of the list
10 = 10 + (69 * 0) 80 = 11 + (69 * 1) 150 = 12 + (69 * 2) 220 = 13 + (69 * 3) 290 = 14 + (69 * 4) 360 = 15 + (69 * 5)
Next it adds them all together, in this case the result is 1110
, and turns this into base 8 (In this case: 2126
)
and turns each numberal into their corresponding brainfuck operation (in our case we get an error because the brainfuck code is invalid).
+<+[
Octal to Brainfuck
brainfuck | Octal |
---|---|
> |
0 |
< |
1 |
+ |
2 |
- |
3 |
. |
4 |
, |
5 |
[ |
6 |
] |
7 |
See Also
External Resources
- Brainfuckest Interpreter made by User:Nurdle