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.

Layered Deadfish

From Esolang
Jump to navigation Jump to search

Layered Deadfish is an esolang created by User:Cordership.

Commands and operation precedence

Command Precedence Definition
i 1 Increment the accumulator
d 2 Decrement the accumulator.
s 3 Square the accumulator.
o 4 Output the accumulator value.
h 5 Halt.

Example

acc = 0
iidisiddso
^^ ^ ^
acc += 4
  d s ddso
  ^   ^^
acc -= 3
    s   so
    ^   ^
acc **= 2
acc **= 2
         o
         ^
print(acc)
Value: 1

Implementations

[[1]] is an interpreter for this language in Python.