Search for a tool

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

Results

Tag(s) : Programming Language

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!

Thanks to your feedback and relevant comments, dCode has developed the best 'Deadfish Language' tool, so feel free to write! Thank you!

 Output format Numbers (raw) ASCII Characters Letters (1=A,26=Z)

 Deadfish characters I,D,S,O (default) X,D,K,C (variant from XKCD)

### 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:

 i increments the memory cell (+1) d decrement the memory cell (-1) s square (^2) the value of the memory cell o displays 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 increment = 8 and output) or also iisdo (3 increments = 3, then squared = 9, 1 decrement = 8 and output)

### 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.

### 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 rest).

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

Deadfish have been created by Jonathan Todd Skinne

## Source code

dCode retains ownership of the online 'Deadfish Language' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Deadfish Language' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Deadfish Language' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'Deadfish Language' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

## Need Help ?

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