Varstak

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

Varstak is an esolang based around the variables being in a stack and affecting other variables. Arbitrary values are represented as '[n]'

Command Action
spwn [n] Create a new variable with key n and push it onto the top of the variable stack.
clr [n] Deletes variable n.
lwr [n] Swaps n with the variable above it.
lft [n] Swaps n with the variable below it.
flr [n] Swaps n with the variable above it.

WIP