Brainmulti

From Esolang
Jump to navigation Jump to search

Brainmulti constitutes a derivation of brainfuck extending the memory to a three-dimensional space, whence ensues the necessity for 12 rather than the acquainted octuple instruction set.

Commands

> pointer north
< pointer south
^ pointer west
v pointer east
o pointer up
O pointer down
+ increment cell at pointer
- decrement cell at pointer
. output cell at pointer ASCII
, input cell at pointer ASCII
[ you know what it is
] you know what it is

Examples

Kiwiscript

++++++++++[v++++++++++^-]v+++++++.[^+v-]^--.++++++++++++++.--------------.

66666666 box

++++++[>+^+<+o+>+v+<+O-]++++++

Truth-Machine

A truth-machine is implemented in the following:

,.[--o+[oo]O[.]OO]

BF equivalents

Caption text
BM BF
> >>>>>>>>>>>>>>>>>>
< <<<<<<<<<<<<<<<<<<
^ >>>>>>>
v <<<<<<<
o >>
O <<
- -
+ +
. .
, ,
[ [
] ]

There are bugs, I just use prime numbers to mostly avoid them.

Interpreter

  • Common Lisp implementation of the Brainmulti programming language.