Dead

From Esolang
Jump to navigation Jump to search

Dead constitutes a cell-based esoteric programming language designed by User:Ilaylevy, using a single character to represent its operations.

Architecture

Dead programs operate on an infinitely expanding tape of integer-valued cells, the currently active instance is referenced by a mobile pointer.

Data Types

Only integer numbers, signed and unbounded in their magnitude, participate in a program.

Commands

Dead is a language that uses only 1 character to do a certain action:

Commands
Symbol Action
p Prints the value of the current cell
a Adds one to the current cell
s Subtracts one from the current cell
i Asks the user for an input
l Moves left one cell
r Moves right one cell

Examples

Counter

A program printing “1234” will look like this:

apapapap

Cat program

A one-time numeric cat program comprehends

 ip

Interpreter

  • Common Lisp implementation of the Dead programming language.