You wait here

From Esolang
Jump to navigation Jump to search

You will wait one second every wait command

Commands

print: prints the amount of seconds waited
repeat[commands]: repeats the commands the amount of waited seconds,
every iteration, wait -1 seconds, aka wait 0 but subtract one from the seconds waited
wait: wait 1 second
split: splits the amount of seconds in half, but then wait 1 second
input: wait the number in the input seconds
end: end the program
rewind: rewind time, aka subtract 1 from time waited, but wait 0 seconds
if[number][commands]: if the time waited equals number, then do commands
tnirp: print negative time waited
negate: negates the time waited
define [name][inputs seperated by spaces][commands]: define command

3 program

rewind
rewind
rewind
negate
print