We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

KLMNOPQRSTU

From Esolang
Jump to navigation Jump to search

KLMNOPQRSTU is a nihilistic esolang derivatived of NOPQRST which is a push-down automaton.

syntax

KLMNOPQRSTU operates on a stack of values, and has 11 commands.

   K - Klears the stack.
   L - Loads the accumulator onto the stack.
   M - Memorize the top of stack (let the accumulator be TOS).
   N - push a Null value onto the stack.
   O - dO nothing.
   P - Print the top value of the stack to standard output.
       Strings are printed as normal, regular expressions are converted to strings first (without the //),
       types print nothing, so as nulls and undefined.
       quining constants print nothing because they are technically not strings).
   Q - push the Quining constant onto the stack.
   R - push an empty Regular expression onto the stack.
   S - push an empty String onto the stack.
   T - Unless the stack is empty, pop a value and push its Type.
   U - push Undefined to the stack

See also