An implementation of Deadfish, an esoteric programming language, in Python.
All the commands in the original Deadfish are included:
| Command | Action |
|---|---|
i |
Increment |
d |
Decrement |
s |
Square |
o |
Output |
There are also commands in the xkcd variation:
| Command | Action |
|---|---|
x |
Increment |
k |
Square |
c |
Output |
d |
Decrement |
There is also the non-standard command h, which halts the program.