MiniJava - A compiler with CUP via XML-techniques
MiniJava - this time with manual user actions
This example is also found in the repository.
This example should give You a basic idea of how to start working with CUP. A minimal CUP specification looks like this: