Skip to content
- Reference
- Examples
- C
A tiny stack calculator
Evaluate sums like "3 4 + 2 *" with a stack, the way old calculators and many virtual machines work, printing the stack at every step.
C15 minCodeDone
Back
Code
Inside: a 69-line program to run and change.
Already unlocked it? Sign in
Code editor. Press Control or Command plus Enter to run the code. Tab indents; to move focus out of the editor, press Escape and then Tab.