GHOST

From Esolang
Jump to: navigation, search

WARNING

This is my first page, i worked really hard on it. Sorry if its bad :D

GHOST

GHOST (Ghost holes of spoon tables) is a programming language developed by nalaek2004 in 2015. The language is small, and cannot contain variables. It also has no IO. There are 3 commands in the language:

  • CREATE PERSON
  • KILL PERSON
  • REVIVE PERSON

Description

The interpreter has 2 values:

  • Dead
  • Alive

Dead is the amount of dead people, and Alive is the amount of alive people.

Examples

A simple counter

CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON <- Repeat infintely

Addition

CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
KILL PERSON
KILL PERSON
REVIVE PERSON
REVIVE PERSON

This program uses the Dead and Alive values to add.

Subtraction

CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
CREATE PERSON
KILL PERSON
KILL PERSON
KILL PERSON
KILL PERSON
KILL PERSON
KILL PERSON

Interpreters

Scratch GHOST interpreter by nalaek2004 Interpreter

See Also