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.

Self2

From Esolang
Jump to navigation Jump to search

like Self but better

Reverse

Reverse prints the code but reversed,
aka the "Reverse" program would result in "Reverse",
because it reverses the order of the code

R(a command)

Runs the thing it does,
example "RSelf" would run "Self" because "Self" prints "Self",
but it would not be infinite
other example is "RReverse Self",
which would run "Self RReverse",
then "RReverse Self"...
which would be an infinite loop,
which would print "Self" forever

Interpreter

#python
def Self2(code):