Fishheads

From Esolang
Jump to navigation Jump to search

Fishheads is an esoteric programming language based on Deadfish and Deadfish~ made by _hyperdawg. Fishheads implements the same functions as Deadfish, however, it implements ASCII output and user input. The latest version is available on GitHub (dead link).

Commands

i Increments the accumulator
d Decrements the accumulator
s Squares the accumulator
o Outputs the accumulator as an integer
c Outputs the ASCII character associated with the accumulator
g Gets user input in integer form and assigns the accumulator to it
r Resets the accumulator
h Halts the program or shell
l Clears the console

Example programs

Hello World

riiiiiiiiiisiiiicdddciiiiiiicciiicriiiisiiiiiiiiiiiiiiiicriiiiiiiiiisiiiiiiiiiiiiiiiiiiicddddddddciiicddddddcddddddddc (outputs "hello world")

Cat program

go

Interpreter

  • Common Lisp implementation of the Fishheads programming language.