We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

NOP (esolang)

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

NOP is the constant language ConstantLanguage(""), 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 1:input()