Code pointer

From Esolang
Jump to navigation Jump to search

Code pointer is invented by User:A.

Syntax

{ Enter loop if code pointer#2 does not reach the end of program.
. Print what the code pointer#2 is pointing.
> move code pointer#2 right.
} End loop if code pointer#2 reaches the end of program.
Something\ Push the something twice.
a add the top element with '\' on the back.
p Pop (and print) the stack twice.

Quine

Cheating version:

{.>}

Real version:

ap\ap