NOPQ

From Esolang
Jump to navigation Jump to search

NOPQ is an extension of NOP (esolang) by User:None1.

Commands

Other than the command NOP, this esolang has an additional command QUINE, which prints QUINE. This allows the language to have non-empty quines.

Example Programs

Quine1

QUINE

Quine2

QUINE
QUINE

Interpreter

Python

while 1:
    try:
        a=input()
    except:
        break
    if a=="NOP":
        pass
    if a=="QUINE":
        print(a)

See also