``

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

`` is a programming language inspired by `. It operates on cells, with 2 internal registers, a and b

Commands
Command What it does
`0 Reset a
`n (n>0)Increment a by n. If n is blank then decrement.
`0` Copy a to b. a unchanged.
`1` Skip next command if a=0
``0 Set the pointer to a, then set a to the value under the pointer
``1 Set the pointer to b and set the value under the pointer to b
`-n Jump to command n. The first command is command 1.
; Separates instructions
`` Output contents of register a as Unicode
``` Get input and store it in register a

Examples

Cat Program

An infinitely repeating cat program follows:

```;``;`-1

Truth-Machine

This program implements a truth-machine:

```;
`;`;`;`;`;`;`;`;`;`;
`;`;`;`;`;`;`;`;`;`;
`;`;`;`;`;`;`;`;`;`;
`;`;`;`;`;`;`;`;`;`;
`;`;`;`;`;`;`;`;
`1`;
`-53;
`-57;
`0;`49;``;`-55;
`0;`48;``

Interpreter

  • Common Lisp implementation of the `` programming language.