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.

In Kazakhstan 2.0, everyone is a horse

From Esolang
Jump to navigation Jump to search

In Kazakhstan 2.0, everyone is a horse is an esoteric programming language made by User:Dragoneater67 in 2026.

Overview

The program is a sequence of instructions executed left-to-right in an infinite loop. There is an unbounded deque of bits intlitially empty. The program also has 2 modes of execution: blocked, back and front, initially, the mode is set to back, the mode decides which instructions can get executed, when an instruction is executed in its incorrect mode, it is a nop. Popping/Ejecting from an empty deque returns 0.

In Kazakhstan 2.0, everyone is a horse instruction table
Instruction Mode Description
> blocked, front Set mode to back.
< blocked, back Set mode to front.
x back, front Set mode to blocked.
0 back Push 0.
1 back Push 1.
p back Pop a bit, set mode to front if 1, set mode to blocked if 0.
z front Inject 0.
o front Inject 1.
e back Eject a bit, set mode to back if 1, set mode to blocked if 0.
Everything else back, front, blocked Do nothing.

Computational class

In Kazakhstan 2.0, everyone is a horse is Turing complete since it can simulate a Cyclic tag system. The program is structuted like this:

initial datastring encoded production rules <x

Production rules are encoded as this:

<eproduction rule