Rewind

From Esolang
Jump to navigation Jump to search

Reverse was taken, so I did Rewind

Rewind is an esolang by User:JIT

"What if you can just reverse lines of the code?"

:)
commands what they do
+n +n
-n -n
change NAME change to a new variable NAME
rewind n reverse line n
if=nrewindm if = n, reverse line m
/ input/output
# anything after the # will be a note for that line

hello world

+72/+29/+7//+3/-67/-12/+55/+24/+3/-6/-8/-67/

Cat program

//

Truth-machine

/#0dniwer/
if=0rewind1 #84+/
if=1rewind2 #1+1dniwer0dniwer

Infinite loop

rewind0#0dniwer