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
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

or Πτ is a programming language meant to describe the rules of turing machines.

description

character meaning
ΠτΠ 0 → 1, 1 → 0
ττΠ 0 → 0, 1 → 0
ΠΠΠ 0 → 1, 1 → 1
ΠΠτ get 1 bit of input as "0" or "1"
Πττ print bit as "0" or "1"
τΠτ "x" define state "x"
τττ "x" goto state "x"
< move pointer left
> move pointer right

so a state that goes to can be written as τΠτ "x" (rules) τττ "y"

extended

Extended is a version of that extends the amount of values from [0, 1] to [0, 255] using 7 bits. The value starts at 0.

character meaning
τ increment value by 1 (mod 256)
Π decrement value by 1 (mod 256)
in get 7 bits of input as ASCII
out print 7 bits as ASCII
def "x" define state "x"
goto "x" goto state "x"
v "mover" function, v(1) will move left and v(2) will move right

Cool Fool!!!! (talk) 15:00, 13 July 2026 (UTC)