Learning CUP by example

The inevitable calculator

This example should give You a basic idea of how to start working with CUP. A minimal CUP specification looks like this: