BitTurn

From Esolang
Jump to navigation Jump to search

BitTurn is an esolang that operates on a 2D bitmap. The pointer can read/write the bits on the map and move.

Commands

Command Meaning
T Flip the current bit pointing and move forward.
A Move backward.
G Rotate counterclockwise.
[ If the current bit is 0, go to the matching ].
] If the current bit is not 0, go to the matching [.

Computational class

Equivalent to Smallfuck

Command Implementation
> GGAGG
< A
* TA
[ [
] ]