OΔTS

From Esolang
Jump to navigation Jump to search
Not to be confused with Oats.

OΔTS(pronounced OATS) is a esolang created by User:Yayimhere

memory

memory is a stack holding negative esolangs. the stack can only hold 2 elements at a time

commands

commands
command meaning
W(n) pop the top of the stack and push the first digit of it mod n. if the digit is 0 push 1 unless n=10
[...] loop ... while top of stack is not 0
<(n) pop top of stack. if its equal to n then push 1 else push 0
" duplicate top of stack
Q(n) goto line n
{n} push n
! pop top of stack
~(n) pop top two values of stack(first popped is A, and second popped is B) then do then take the digital root of that and push the result. if B is 0 however, A will be multiplied by n and then push the result
; move top of stack to the bottom
= swap top two values of the stack
| negate top of stack
? pop the two top elements of the stack and a add them together with the first popped being on the left side of the operator