Backjump

From Esolang
Jump to navigation Jump to search

Backjump is a bf derivative where you get to go back.

Commands

Same as BF, but loops are removed. There are new commands so this is still Turing Complete™

New commands:

! takes the current amount in the cell, and jumps back that many cells.

? is ! but it jumps forward instead.

: resets the cell to 0.

# is the numerical version of ..

* is basically 2 pluses overlayed, so it does the same thing as ++. Only here so code doesn't get too long...

@ is used so the interpreter knows where code ends and input starts. Not needed in programs which don't need input.

; jumps 2 commands forward if the current cell isn't 0.

Examples

Cat

,.,:***!