We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
10Brainfuck
Jump to navigation
Jump to search
10Brainfuck is going to be my first contribution as far as esolangs are concerned. First of all programs are actually going to be written in numbers 1 ~ 8.
Commands
The commands are as follow:
| Command | Brainfuck equivalent |
|---|---|
1
|
>
|
2
|
<
|
3
|
+
|
4
|
-
|
5
|
.
|
6
|
,
|
7
|
[
|
8
|
]
|
Interpreter
Here's a python program that translates 10Brainfuck into brainfuck (former), and vice versa (latter).
code = input('Enter 10Brainfuck code: ')
chars = {'1': '>', '2': '<', '3': '+', '4': '-', '5': '.', '6': ',', '7': '[', '8': ']'}
for i in chars.keys():
code = code.replace(i, chars[i])
print(code)
code = input('Enter Brainfuck code: ')
chars = {'>': '1', '<': '2', '+': '3', '-': '4', '.': '5', ',': '6', '[': '7', ']': '8'}
for i in chars.keys():
code = code.replace(i, chars[i])
print(code)
Note
10Brainfuck is, (although probably unintentionally), exactly the same as Numberfuck.