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.
Staccues
Jump to navigation
Jump to search
Staccues is an esolang made by User:Marcus 2n2. It has a Stack, 2 accumulators, and a queue.
Instructions
| Symbol | What they do |
|---|---|
0-9 |
set A to 10A+0-9
|
, |
push A to stack and clear A |
. |
pop x, set A to x |
* |
switch A and L |
{ |
if L=0, goto } else decrement L
|
< |
if L≤0, goto > else decrement L
|
> |
if L>0, goto <
|
} |
if L≠0, goto {
|
+ |
pop x, push x+1 |
_ |
pop x, push -x |
; |
set A to top of stack |
V |
pop and enqueue x |
v |
dequeue and push x |
i |
set A to input, EOF=0 |
o |
output A as ascii and clear A |
n |
output A as number and clear A |
C |
clear queue |
l |
sets A to length of stack |
& |
switch A and M |
Examples
Hello, World!
72o101o108o108o111o44o32o87o111o114o108o100o33o
Truth-machine
i,48*{_+_}_;*{_.n,_}n
Looping counter
1,_.*1,{;*&42{o}10o&*+}
Cat program
1*1<*io*>
A+B problem
i,i*{+}.n