ItOi
Jump to navigation
Jump to search
ItOi or Input to Output instantly is a joke esoteric programming language by Grs (talk) that only contains two command.
Commands
Command | Description | Example |
---|---|---|
ItOi | Takes input from the user and prints it instantly | ItOi |
repeat | Repeats the last command infinity times. | ItOi(newline)repeat |
Code
Cat program
ItOi repeat
An ending cat program
ItOi
Implementation
Python implementation by Grs (talk):
code = [] userinput = "" while userinput != "exit": userinput = input("> ") if userinput == "run": line = 0 while line < len(code): if code[line] == "ItOi": print(input()) elif code[line] == "repeat": line -= 2 line += 1 code = [] else: code.append(userinput)