Groups · 4 languages
Reversible
Every step can be undone. Run the program backwards and you get your input back.
Families in this group
Languages
Immutable Brainfuck
No cell is ever changed. The tape only grows, by cells pushed in right after the pointer.
2026●●○runnableRevaver2pi
Every command undoes itself, so a program read from the bottom up undoes the program.
2006●●●runnableStack Cats
Every program must be its own mirror image, and every command's mirror is its inverse. So the second half of each program is busy undoing the first.
2016●●●runnableJanus
An ordinary-looking imperative language in which every program can also run backwards. call runs a procedure; uncall un-runs it.