Stakc/Old
Jump to navigation
Jump to search
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
Stakc(pronouncing as "Stacks" ) is Stack-based language by User:ChuckEsoteric08
Commands
element can't be 0.
>[X]< |
push [X] (any number) to the stack
|
+[X]+ |
increment top of the stack by [X]
|
-[X]- |
decrement top of the stack by [X]
|
top+ |
pop a,b and push a+b |
top- |
pop a,b and push b-a |
pop |
pop top element |
while( |
while top element is not zero |
) |
endwhile |