->
Stack: What problems does it solve?
- Stacks are used to avoid recursion, replace the implicit/actual stack
of functions called recursively
- Stacks are used to evaluate arithmetic expressions, to implement compilers, to implement interpretors
- The Java Virtual Machine (JVM) is a stack-based machine
- Postscript is a stack-based language
- Stacks are used to evaluate arithmetic expressions in many languages
- CPS 140 - write an interpretor, LR Parsing - uses stacks
->
i