Πie

From Esolang
Jump to navigation Jump to search

Πie is a esoteric programming language designed in July 2020 by User:Stormboy876. It is identical to brainfuck, except that the instructions > and < have been replaced by 1 and 0 respectively.

Instructions

Πie has six instructions, which are identical to their brainfuck equivalent.

Command Description
Π Increment the referenced cell
i Decrement the referenced cell
e Output the character signified by the referenced cell
, Input a character and store it in the referenced cell
[ Jump past the matching ] if the referenced cell is 0
] Jump back to the matching [ if the referenced cell is nonzero

Note that the behavior of . when the referenced cell is not a valid ASCII code is undefined. The behavior of , when the end of file is reached is also unspecified; see brainfuck#EOF for more details.

Hello World

ΠΠΠΠΠΠΠΠ[1ΠΠΠΠ[1ΠΠ1ΠΠΠ1ΠΠΠ1Π0000i]1Π1Π1i11Π[0]0i]11e1iiieΠΠΠΠΠΠΠeeΠΠΠe11e0ie0eΠΠΠeiiiiiieiiiiiiiie11Πe1ΠΠe

Interpreter

python interpreter