Characters that aren't commands do nothing. Because 'v' is a command, replace it with w or u in comments.
- '+-<>.' do the same things as in brainfuck.
- '(f)' does f if the current cell is not 0.
- '|' is a label for time traveling.
- '^fv' does f in the temporal and spacial context of the last label.
This program demonstrates Timefuck's handling of the grandfather paradox. Using the many-worlds view of space-time, this program simply arrives at the . with the current cell 0 even though that value hasn't been created yet.
Any brainfuck program can be converted to Timefuck by replacing '[foo]' with '|(^foov)'.
- In Progress
BF to TF Converter in Python (Golfed)