AnotherStonck
Jump to navigation
Jump to search
AnotherStonck is another stack language made by User:Mrtli08 which is another stack language.
Commands
| Name | Function |
|---|---|
| >n | Pushes the number n to the stack. |
| < | Pops the element above. |
| ! | Reverses stack. |
| + | Pops 2 elements above, adds them and pushes the result. |
| - | Pops 2 elements above, subtracts them and pushes the result. |
| * | Pops 2 elements above, multiplies them and pushes the result. |
| / | Pops 2 elements above, adds them and pushes the result. |
| ? | Pushes input. |
| . | Outputs the element above as ASCII. |
| {...}(n) | Loops until the element above is equal to n. |
| [...](n) | Loops until the element above is not equal to n. |
| ^(s) | Creates new stack s. |
| $(s) | Switches to stack s. |
| % | Duplicates the element above the stack. |
Example programs
These are the example programs. You can contirbute anytime.
Hello, world!
>72.>101.>108.>108.>111.>44.>32.>119.>111.>114.>108.>100.>33<