miniBrainflop

From Esolang
Jump to navigation Jump to search

miniBrainflop is a more compact dialect of brainflop. Instead of having 7 instructions, it only has 5 and is still Turing-complete. It also has less memory space, with 24 cells instead of the original brainflop's 1024.

Instructions

+  Increment the cell under the pointer
-  Decrement the cell under the pointer
>  Move the pointer right
*  If the current cell is 0, get input. Else, print the cell's ASCII value.
/  If the cell is 0, skip the next instruction. Else, move the pointer left. Relative jump the number under the pointer (negative goes backwards, positive goes forwards).

External resources

An interpreter