ABCDirection
Jump to navigation
Jump to search
ABCDirection is a 2 dimensional esolang by User:BoundedBeans.
Instructions
A | Turn right. |
B | No-op. |
C | Execute a command depending on the direction.
|
D | Execute a command depending on the direction.
|
The pointer starts at the top left, and starts by going downwards.
Note there can be no spaces in the code, other than after a line with six consecutive D’s, B should be used instead.
After the file reader reads 6 consecutive D’s in one line of code, from left to right, it reads the rest of the line, then stops. If you need to use D six times in a row more than once on different lines horizontally, use B to separate it.
The file reader needs to be stopped like this (6 D’s are required). Since it has stopped reading the file, anything can be written afterwards. This is a comment mechanism.