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.

Mindshit

From Esolang
Jump to navigation Jump to search

Mindshit is a Brainfuck derivative by CosmicMan08#1975 (User:CosmicMan08), it's unique in the fact that it has a character that switches the meaning of all other characters.

Instructions

Instruction Mode 1 Mode 2
> Move pointer right Move pointer left
+ Increment value at pointer Decrease value at pointer
. Output value at pointer as ascii Take the user's input and puts it as ascii in the value at the pointer
! Sets mode to 2 and hops forward 5 times in the program tape Sets mode to 1 and hops backward 5 times in the program tape
# Hops forward 2 times Hops backward 2 times
? Acts like # if the value at the pointer is 0, otherwise the instruction is ignored Acts like mode 1.

Just like brainfuck, all other characters are ignored. In addition to the meaning switch, mode 2 also goes right-left instead of left-right.

See also