BrainEmoji
Jump to navigation
Jump to search
BrainEmoji is a joke esoteric programming language created by Parth Patel. It is identical to Brainfuck, except that the instructions are changed into emojis that look similar. As such, it is a member of the TrivialBrainfuckSubstitution family of programming languages.
A C interpreter for this language and a Brainfuck to BrainEmoji translator can be found here.
Commands
Brainfuck | BrainEmoji | Description |
---|---|---|
> | π | Move the pointer to the right |
< | π | Move the pointer to the left |
+ | π | Increment the memory cell under the pointer |
- | π | Decrement the memory cell under the pointer |
. | π«΅ | Output the character signified by the cell at the pointer |
, | βοΈ | Input a character and store it in the cell at the pointer |
[ | π«± | Jump past the matching π«² if the cell under the pointer is 0
|
] | π«² | Jump back to the matching π«±
|
Hello, world! program
ππ«±πππππ«±ππππππππππππ«²ππππππππ«²πππ«΅πππππ«΅πππ«΅π«΅ππππ«±π«΅ππ«²πππππ«΅ππππ«΅πππππππ«΅ππππ«΅ππππππ«΅