TRUE

From Esolang
Jump to: navigation, search

TRUE stands for Tan Rabbi Up Eckhebber. By User:Twistle

stuff

Tan: i/o

ta = input and enqueue
tn = output top queue item and dequeue
t.n = output and don't dequeue

Rabbi: arithmetic

ra = add 'n dequeue
rb = subtract 'n dequeue
ri = multiply 'n dequeue
ra. = divide 'n dequeue
rb. = modulus 'n dequeue
r.a = add 'n don't dequeue
etc.

Up: halt

up = halt
up. = comment until next u.p
u.p = end of comment

Eckhebber: queue and flow control

ec/x/ = enqueue x(decimal)
ek = dequeue
eh/x/ = enqueue x(octal)
ee/x/ = enqueue x(hexadecimal)
e.e/x/ = enqueue x(ascii)
eb/x/ = enqueue x(binary)
er = enqueue instruction pointer on to stack
e.c = instruction pointer = top item on queue('n dequeue)
e.r = IP = top item on queue ('n don't dequeue)
e.k/go_collect200dollars/ = goto go_collect200dollars
\label\ = a goto label

If a dot is after a queue instruction, it means to do the specified action with the other side. Making this both stack based AND queue based. This also applies to Tan instructions.

examples

dlrow olleh:

ec/68/ec/76/ec/82/ec/79/ec/87/ec/32/ec/79/ec/76/ec/76/ec/69/ec/72/
tntntntntntntntntntnup.Dlrow olleh!u.pup