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.

ChangeFuck

From Esolang
Jump to navigation Jump to search

ChangeFuck is an esolang invented by User:None1, inspired by brainfuck and Malbolge.. It's brainfuck but every command has a wierd side effect on the memory or program, in order to make programs hard to be written.

Commands

The normal effects of commands are the same as that of brainfuck. However, after each command is executed, a side effect is applied to the program, the memory, or both.

Command Side effects
+ XOR all characters in program by 30, NAND all cell values by 123.
- Bitwise cyclic right shift cell values by 1 bit, cyclic right shift commands according to this table: +]->[-<,.
, Rewrite all cells to the value read, cyclic left shift commands according to this table: ,[<]-.>+.
. Changes all ['s to ]'s and vice versa (in both the program and the memory!).
> Add cells by 1, reverse the program.
< Write the program as a C-styled string into the memory, starting from pointer.
[ Concatenate the program by itself.
] Swap the program with the tape.

Usability

It's suspected but not proven that this esolang is completely unusable.