esolang

Deadfish but in english

Deadfish, with every one letter command spelled out as a sentence.

Zopium, 2026 · Turing complete: no · ●○○ easy · esolangs.org

Tested with 3 known programs · Test method

Run it

Expected: 4

The idea

Zopium made Deadfish but in english in 2026. It is Deadfish with the single letters replaced by sentences, joined into one long English instruction by "and then". The specification adds one thing the letters never had. A sentence may end with a count, so "Increment the accumulator 4 times" does four increments, and a negative count counts as its absolute value.

Read the story

There are still no loops, no conditions and no input. Every program runs straight through once.

The machine

SentenceDoes
Increment the accumulatorAdd 1
Decrement the accumulatorSubtract 1
Square the accumulatorSquare it
Output the accumulatorPrint it as a number and a line feed
HaltStop

Sentences are joined by ", and then " and the last may end with a full stop. Capitals do not matter. As in Deadfish, an accumulator of -1 or 256 becomes 0 after every step.

Example

The XKCD Random Number counts to 2, squares it and prints the 4.

The XKCD Random Number counts to 2, squares it and prints the 4.

Expected: 4

The specification also counts down from 10 to 1 in eleven lines. One counted sentence makes 10 and prints it, then nine pairs of a decrement and an output print 9 down to 1.

Further

Deadfish but in english builds on Deadfish~.

Deadfish derivatives

Write your own in Run Convert a program from Deadfish but in english

Implementation

JavaScript interpreter, source and command line

A JavaScript interpreter, used in the browser and on the command line. Id: deadfish-but-in-english.

Command line

shib run deadfish-but-in-english -e 'Increment the accumulator 4 times, and then output the accumulator, 
and then halt.'
shib manual deadfish-but-in-english

Source

Module
langs/wiki/ports.js
Interpreter
langs/wiki/deadfish-but-in-english.js

Docs: Kernel instructions · The .shib format · Command line · Adding a language

Source esolangs.org (CC0) · Edit on esolangs.org