Enigma-2D Interpreter
A 2D grid language combining Brainfuck-style memory with a directional instruction pointer that falls off the edge to terminate. User:Alegend , 2010
(output will appear here)
About Enigma-2D
Enigma-2D was created by User:Alegend in February 2010 as a blend of Minimal-2D and Brainfuck. Programs are written on a two-dimensional grid. The instruction pointer starts at the top-left corner moving rightward, and the language has exactly twelve commands — eight borrowed directly from Brainfuck (< > + - . , [ ]) and four direction-change commands (U D L R) that redirect the pointer across the grid.
Unlike Befunge, Enigma-2D has no wrapping: the program terminates naturally when the instruction pointer falls off any edge of the grid. The bracket commands scan along the current direction of travel, not left-to-right, so loops can be written vertically or horizontally with equal ease. The memory model is a growable tape of signed integers, identical to Brainfuck — negative data-pointer access is an error, and EOF input stores -1 in the current cell.
The two-dimensional layout opens up structural possibilities not available in Brainfuck: code paths can branch, intersect, or be arranged in spirals, and the direction commands let you reuse stretches of code from multiple angles. Despite its small command set, Enigma-2D is Turing complete.