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.

🍭

From Esolang
Jump to navigation Jump to search

🍭 is an esoteric programming language made by User:Dragoneater67 in 2026. It was inspired by A Painter Ant.

Overview

The program is a sequence of instructions executed left-to-right in an implicit infinite loop. There is an infinite grid of bits initialized to all 0s. There is a grid pointer initially facing right and placed at (0, 0).

🍭 instruction table
Instruction Description
? If the bit at the grid pointer is 0, skip next instruction.
% Flip the bit at the grid pointer.
~ Move the grid pointer 1 cell in its direction.
@ Rotate the grid pointer 90 degrees clockwise.

Computational class

🍭 is Turing complete since it is equivalent to A Painter Ant:

A Painter Ant to 🍭 conversion table
APA 🍭
n @@@~@@?~@@@
N @@@~?~@@~@@@
e ~@@?~@@
E @~?~@@~@
s @~@@?~@
S @~?~@@~@
w @@~@@?~
W @@~?~@@~
p ?%
P ?%%

Examples

Looping counter

%~

See also

External resources