PostScript is a stack-based language. Most operators take their arguments from the stack and place their results back onto the stack.
push
- Places an operand on the stack.pop
- Removes the top operand from the stack.exch
- Exchanges the top two operands on the stack.dup
- Duplicates the top operand.clear
- Empties the stack.