5D-brainfuck-with-multiverse-time-travel
This is an interpreter for the language '5D brainfuck with multiverse time travel' by RocketRace. It is written in Julia and uses no external libraries.
Quick Guide
Check out the esolangs wiki page for more information.
>
Move all memory pointers in this timeline 1 cell to the right.
<
Move all memory pointers in this timeline 1 cell to the left.
+
Increment all cells pointed to in this timeline.
-
Decrement all cells pointed to in this timeline.
.
Output a character for all cells pointed to in this timeline.
,
Input a character and store it in all cells pointed to in this timeline.
[
Move this instruction pointer to the matching ]
if all cells pointed to in this timeline are 0.
]
Move this instruction pointer back to the matching [
if any cells pointed to in this timeline are nonzero.
~
Rewind the current tape back in time by 1 step.
(
Spawn a copy of this timeline "below". This instruction pointer jumps to the matching )
.
)
If this is executed outside of the main timeline, kill this timeline.
v
Move all memory pointers in this timeline to the same location in the next ("lower") parallel universe.
^
Move all memory pointers in this timeline to the same location in the previous ("higher") parallel universe.
@
Wait until the "lower" parallel universe has 0 memory pointers or doesnt exist anymore.
Usage
The interpreter is written Julia 1.5.2 but may also be compatible with some earlier versions of Julia. To run a file, type the following command into your terminal: julia interpreter.jl src.5dbfwmtt
Rust Version
There is another version written in Rust. Check it out here!
License
This software is licensed under the MIT License. 2020