A Delusion of Control
Jump to navigation
Jump to search
A Delusion of Control or ADoC, is an esoteric language, devised by User:Yayimhere, as a strange stack based language.
Command set
Using the following notation: stack - stack after command , program after command:
- ƒ: abc - a c c b , *
- Split the top string of the stack into individual elements, then copy the top of the stack, and move the two top elements of the stack to right below the element below the original and copy.
- ≠: a b - a b , ... a b
- Copy the two top elements of the stack to the end of the program.
- Ë: a b c - a b p , ... c
- Push the program to the top of the stack, and then pop the second element of the stack and append it to the end of the program.
- \x: a - a x , *
- Push the single character following the slash
Note that ° represents the empty string.