Op
Jump to navigation
Jump to search
Op is an esolang invented by User:None1, it is a shorter version of Output.
Commands
Output | Op |
---|---|
Input | i |
Output the input | oi |
Output the program's source code | os |
Output "string" | o"string" |
Like Output, the o command raises a syntax error if you passed it wrong values.
Example programs
Hello World
o"Hello World!"
Cat program
ioi
Cheating Quine
os
n^2 program
ososos
n is the number of os's. Every os prints n os's, thus outputting n^2 os's. Refer to the n^2 program in Output for more details.