🐟 The world’s most unnecessary aquarium programming language

Code inside an aquarium.

FishScript is a chaotic esolang where variables are fish, blocks are reefs, functions are rituals, and bugs are probably sharks.

AQUARIUM OPENS

HATCH snacks AS ["kelp", "worm"]
DROP "pizza algae" INTO snacks

SING "Random snack:"
SING CHOOSE FROM snacks

PANICFISH

AQUARIUM CLOSES

Install

For developers

pip install -e .
fishscript ide

Run a file

fishscript run hello.fish

Windows app

Download the installer from GitHub Releases after you build and upload it.

Download installer

Syntax

HATCH x AS 5Create a fish variable
x SWALLOWS 3Add to a fish
x NIBBLES 1Subtract from a fish
SING xPrint output
FISH x FROM VOIDAsk for input
DICEFISH 1 10Random number
REEF / SURFACEStart and end a block
RITUALCreate a function

Example

AQUARIUM OPENS

RITUAL DOUBLE WITH fishy
REEF
    fishy SWALLOWS fishy
    RELEASE fishy
SURFACE

SING "Double fish magic:"
SING DOUBLE(5)

AQUARIUM CLOSES