Brainless

Brainless is an untyped esoteric programming language. It was designed as a joke and is simple by its specification (consisting only of 8 commands) but intentionally hard to program in. It works similarly to a pure Turing machine. Writing a brainfuck interpreter is often used as a programming exercise.


Specification

We have a linear memory of cells and a data pointer which initially points to the 0th cell.

 0  1  2  3  4  5  6  7  8  9...
[0][0][0][0][0][0][0][0][0][0]  
 ^                              

The size and count of the cells is implementation-defined, but usually a cell is 8 bits wide (max value of 255) and there is at least 30000 cells. A program consists of these possible commands:


Print "HI"

Read two 0-9 numbers (as ASCII digits) and add them


Esoteric languages