NOP (esolang)

From Esolang
Jump to navigation Jump to search
Not to be confused with the NOP instruction.

NOP is an esolang created by User:None1, and it is the world's third Nihilistic language (the first two are Nil and APLWSI).

Commands

There is only one command, which is NOP, which does nothing, other strings are ignored.

Example Programs

Do Nothing

NOP

Do Nothing 2

NOP
NOP

Do Nothing 3

12343
45445

Quine


Self Interpreter


In fact, any program in this esolang is a self interpreter.

Interpreters

Python Interpreter which is also a JavaScript Interpreter which is also a Brainfuck Interpreter


More elaborate Python interpreter, but unfortunately it is incompatible with other languages

while 1:
    try:
        x=input()
    except:
        break
    if x=="NOP":
        pass

Another Python interpreter

while True:input()