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):