Directional

From Esolang
Jump to navigation Jump to search

Directional is an esolang invented by User:None1 and inspired by TinyBF, it is actually a 2D version of TinyBF.

Data Storage

A tape and a pointer is used to execute the TinyBF commands.

Commands

Command Meaning
Set IP direction to up, and execute the TinyBF = command.
Set IP direction to down, and execute the TinyBF + command.
Set IP direction to left, and execute the TinyBF > command.
Set IP direction to right, and execute the TinyBF | command.

Other characters are NOPs. IP starts at top left corner and is direction is right initially. When it goes out of bounds, the program terminates.

Example programs

Increment current cell

Please add Hello World, cat program, Truth Machine please!