Tool for decoding / encoding in ReverseFuck. ReverseFuck is an obfuscated programming language that basically reverses Brainfuck operators.
ReverseFuck - dCode
Tag(s) : Programming Language
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
Tool for decoding / encoding in ReverseFuck. ReverseFuck is an obfuscated programming language that basically reverses Brainfuck operators.
ReverseFuck looks like BrainFuck but has the particularity of inverting the BrainFuck language operators to make it even more incomprehensible: the + becomes a -, an opening bracket [ becomes a closing bracket ], and so on. Here is the table to convert BF to BrainFuck and conversely :
ReverseFuck | Brainfuck | Operation |
---|---|---|
+ | - | Pointer value - 1 |
- | + | Pointer value + 1 |
> | < | Pointer position - 1 |
< | > | Pointer position + 1 |
] | [ | Loop while pointer > 0 |
[ | ] | End loop |
. | , | Store input in pointer position |
, | . | Output ASCII value of pointer |
Example: The ReverseFuck program ----------]<-<---<-------<---------->>>>+[<<<------------,+++++++++++++,<++++++++++++++,>,<++++,-,>, corresponds to Brainfuck code ++++++++++[>+>+++>+++++++>++++++++++<<<<-]>>>++++++++++++.-------------.>--------------.<.>----.+.<. and as the two programs are identical, they display as output REVERSE.
To know what a ReverseFuck code does, run it with a ReverseFuck interpreter, that can compile it and take an argument in parameter if necessary. dCode displays in a console each byte returned as output as well as the final memory register.
A program in ReverseFuck is visually very similar to a Brainfuck code with the 8 characters +-<>[]., the only difference being the change of replacement by their opposite.
dCode retains ownership of the online 'ReverseFuck' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (PHP, Java, C#, Python, Javascript, Matlab, etc.) no data, script, copy-paste, or API access will be for free, same for ReverseFuck download for offline use on PC, tablet, iPhone or Android !
Please, check our community Discord for help requests!