Q U I N E

From Esolang
Jump to navigation Jump to search

Q U I N E is a weird esolang by User:Hammy.

Commands

q

^^ prints "quine"

u

^^ increment the accumulator

i

^^ decrement the accumulator

n

^^ square the accumulator

e

^^ double the accumulator

!

^^ print the ascii character corresponding to the accumulator

s

^^ get input as a number and set the accumulator to it

0

^^ print 0

1

^^ print 1

:

^^ run if accumulator isn't 0

)

^^ end if

[]

^^ run forever

.

^^ reset accumulator

,

^^ print accumulator as number

Examples

Numeric Cat

s,

Quine

this is the most self-expanatory quine ever

quine