Generic 2D Brainfuck
|Memory system||tape-based (2d)|
|Computational class||Turing complete|
|Major implementations||None Yet|
Generic 2D Brainfuck is a language created in 2015 by User:Hppavilion1. It is, as the name suggests, a generic 2-Dimensional brainfuck-based language. It operates on both a 2-Dimensional variant of Brainfuck's tape as well as using a 2-Dimensional program.
Generic 2D Brainfuck is basically just brainfuck, but the program and tape are 2D. The way it is designed makes it entirely backwards-compatible with vanilla brainfuck (except for comment conflicts). The commands are as such:
||Move the pointer to the right|
||Move the pointer to the left|
||Move the pointer upwards|
||Move the pointer downwards|
||Set the program counter direction to up|
||Set the program counter direction to down|
||Set the program counter direction to left|
||Set the program counter direction to right|
||Increment the memory cell under the pointer|
||Decrement the memory cell under the pointer|
||Output the character signified by the cell at the pointer|
||Input a character and store it in the cell at the pointer|
||Jump past the matching |
||Jump back to the matching |
Generic 2D Brainfuck was created by Hppavilion1 in 2015. There hasn't been much time for history to be made.
As Generic 2D Brainfuck is almost backwards-compatible with Brainfuck, many examples can be found on the normal brainfuck page (but only one-line examples will work (but multiline examples can be condensed)).