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
| Flip the current bit pointing and move forward.
G Rotate counterclockwise.
[ If the current bit is 0, go to the matching ].
] If the current bit is not 0, go to the matching [.