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.

flipfuck

From Esolang
Jump to navigation Jump to search

flipfuck is an esolang derived from BitChanger as an intermediate step when translating Reversible Brainfuck and Reversible Bitfuck into 3L

Commands

Command Meaning
} Invert the bit that the current tape cell holds, and move the tape head right.
{ Invert the bit that current tape cell holds, and move the tape head left.
[ Jump past matching ] if current tape cell holds 1.
] Jump past matching [ if current tape cell holds 1.

Computational class

It is Turing-complete as it can simulate Reversible Bitfuck. Translation even-numbered cells as values of Reversible Bitfuck tape if first cell is considered to have index 0, while odd-numbered are used as a bit bucket

Caption text
Reversible Bitfuck flipfuck
* }{
> }{}}
< }{{{
( }{[}{
) }{]}{

flipfuck can easily be translated into Reversible Bitfuck like that:

flipfuck Reversible Bitfuck
} *>
{ *<
[ *(*
] *)*