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.

Pește mort

From Esolang
Jump to navigation Jump to search

Pește mort (Romanian for Dead fish) is an esolang invented by User:None1. It is a deadfish derivative.

Commands

Command Corresponding Romanian word Meaning
c creștere (increase) Increment the accumulator
s scădere (decrease) Decrement the accumulator
p pătrat (square) Square the accumulator
i ieșire (output) Output the accumulator
o oprire (stop) Halt

Examples

XKCD Random Number

ccpi

Number Hello World!

cccpspcccccccciccccccccccccccccccccccccccccciccccccciiccci
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssissssssssssssi
ssssssssssssssssssssspssissssssssicccissssssissssssssi
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssi

NOP

N

or:

o

Interpreter

Python

exec('x=0\n'+'\n'.join([{'c':'x+=1','s':'x-=1','p':'x*=x','i':'print(x)','o':'exit()'}[i]+'\nif x in [-1,256]:\n x=0' for i in input()]))