Rust interpreter for emojy, a brainfuck dialect using emojis.
It uses the follwing mapping:
Brainfuck command | Emoji |
---|---|
+ | π |
- | π |
> | π |
< | π |
, | π |
. | π |
[ | π |
] | π |
Two example scripts are included in the examples/
directory: rot13.em
and hello_world.em
. They are the emojy version of the brainfuck examples from wikipedia.
You need a working installation of rust and cargo. Then build it using
cargo build
After that it can be run using
target/debug/emojy [TRANSLATION_FILE] EMOJY_FILE
TRANSLATION_FILE
is the optional path to the translation file (if not given, ./translation
is used). EMOJY_FILE
is the path to the source.
The Code is under a GPL license.