We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

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