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.