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.

BrainHalt

From Esolang
Jump to navigation Jump to search

BrainHalt is a brainfuck derivative that solves the halting problem. It is invented by User:None1.

Commands

It is BF, but with 1 extra command.

h If this program will halt, increment current cell.

Examples

Paradox

h[]

The program halts if it doesn't halt and doesn't halt if it halts.