BrainTravel

From Esolang
Jump to navigation Jump to search
This esolang is a brainfuck derivative.
This is still a work in progress. It may be changed in the future.

BrainTravel is basically Brainfuck but with alternate dimensions and time travel. Created by User:AnotherUser05.

The commands used in this program:

Command Description
+ Add one to the current cell's value.
- Remove one to the current cell's value.
> Move the cursor right.
< Move the cursor left.
[ Jump past the matching ] if the current cell value is 0.
] Go back to the matching [ if the current cell value is not 0.
. Ouput the current cell's value as an ASCII character.
, Input a character and store it into the current cell.
# Store the current cell value into a storage.
{ Jump past the matching } if the current cell value is not equal to the stored value.
} Paired with {.
= Set the current cell's value to the stored value.
^ Go up a dimension.
v Go down a dimension.
| Swap the previous dimension with the current one.
/ Go forward in time by one step.
\ Go backward in time by one step.
x Stop the code.

Time Travel

Basically time travel in this program works like how you would expect it to work. By going back in time, there's another cursor that's the current cursor but in the past. You can also affect this timeline by affecting any of the cell's value. This will affect the outcome of the code. To be safe from that mess, you can go to another dimension. Oh yeah, there's a limit to how far you go back and forward in time. This is probably the most useless mechanic.

Dimensions

Every dimension is a line of cells. There are an infinite amount dimensions, so go as far as you want. Just don't get lost.

Examples

Not finite loop

+[+]