A stack-oriented database