We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

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
[ [
] ]