PIO
		
		
		
		Jump to navigation
		Jump to search
		
PIO is a joke language.
Specification
By default, only the first line of a PIO program is executed. Subsequent lines can be executed using the I command.
PIO has three commands:
- Iattempts to execute the next line of code which has not already been executed. If there is no such line, it instead outputs I hate input errors! followed by a newline.
- Ooutputs Oh dear! No useful programs here! followed by a newline.
- Praises an error with the message Peeing on the floor? Ridiculous! Clean up your mess!, halting the program. It’s also disgusting, why are you peeing on the floor?
Multiple commands can appear on a single line. Unrecognised characters are ignored.
As a special case, the empty program outputs No code, no bananas! followed by a newline.
Example
Quine
Oh dear! No useful programs here!
External resources
- Interpreter, from which the above specification is derived