NFuck

From Esolang
Jump to navigation Jump to search

NFuck

Basically this is BrainFuck with N Dimensions.

Commands

Command Description
+ Add one to current cell.
- Remove one from current cell.
: Toggle negative/positive mode.
n Move 1 or -1 (depending on the mode) unit in dimension n
[ If current cell is zero then jump after the matching ]
] If current cell is nonzero then jump after the matching [

When running, amount of dimensions should be said to the interpreter.