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!
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 "ReverseFuck" source code. Except explicit open source licence (indicated Creative Commons / free), the "ReverseFuck" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "ReverseFuck" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "ReverseFuck" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "ReverseFuck" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
ReverseFuck on dCode.fr [online website], retrieved on 2024-11-21,