Search for a tool
Deadfish Language

Tool to interpret the Deadfish, an extremely basic programming language only able to display numbers via only 4 commands.

Results

Deadfish Language -

Tag(s) : Programming Language

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Deadfish Language' tool for free! Thank you!

Deadfish Language

Deadfish Interpreter/Decoder

 




Deadfish Encoder

 







See also: Brainfuck

Answers to Questions (FAQ)

What is Deadfish? (Definition)

Deadfish is a minimalist programming language created by Jonathan Todd Skinner. It runs with only four commands, does not allow user input, and only handles integer values.

How to write in Deadfish?

The deadfish is a programming language simplified to the extreme using a single memory cell (initialized at 0) and 4 functions:

iincrements the memory cell (+1)
ddecrement the memory cell (-1)
ssquare (^2) the value of the memory cell
odisplays the value of the memory cell

Example: To code the number 8, it is possible to write iiiiiiiio (8 increments and output) or iisiiiio (2 increments = 2, then squared = 4, 4 increments = 8 and output) or also iisdo (3 increments = 3, then squared = 9, 1 decrement = 8 and output)

The author's C implementation says that the maximum value should be 255 and if an increment reaches 256 or a decrement reaches -1, then the value is reset to zero (but there is no provision for squaring).

How to decrypt a Deadfish code?

Deadfish is not a cipher but a programming language, so use an interpreter to launch the program and display the result.

Example: iiiso corresponds to 3 increments i (+1+1+1=3), then a squaring s (3^2=9) and display of the result o, ie the number 9

The program can only display numbers, but those can use a given nomenclature (ASCII code, A1Z26, etc.) to get a plain text.

How to recognize a Deadfish code?

Deadfish has only 4 distinct letters, by default i, s, d and o in lower case.

The amount of i and d is generally greater than the amount of o and s.

There are as many o as numbers (or characters) in the output values from the program.

The numbers obtained are usually less than 17^2 = 289.

What are the variants of Deadfish?

The XKCD site has proposed a variant with its own letters replacing i with x, s with k and o with c (d stays d).

Other letter/character variations are possible.

Due to its design and level of abstraction, Deadfish resembles the Brainfuck family of languages.

Who did create Deadfish?

Deadfish have been created by Jonathan Todd Skinne

Source code

dCode retains ownership of the "Deadfish Language" source code. Any algorithm for the "Deadfish Language" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Deadfish Language" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Deadfish Language" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.

Cite dCode

The content of the page "Deadfish Language" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source. Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link: https://www.dcode.fr/deadfish-language
In a scientific article or book, the recommended bibliographic citation is: Deadfish Language on dCode.fr [online website], retrieved on 2025-04-27, https://www.dcode.fr/deadfish-language

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Deadfish Language' tool for free! Thank you!


https://www.dcode.fr/deadfish-language
© 2025 dCode — The ultimate collection of tools for games, math, and puzzles.
 
Feedback