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.
Πτ
Jump to navigation
Jump to search
or Πτ is a programming language meant to be a turing machine.
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 default is at 128
| character | meaning |
|---|---|
τ |
increment value by 1 (mod 256) |
Π |
decrement value by 1 (mod 256) |
in |
get 1 bit of input as "0" or "1" |
out |
print bit 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
|