What is this?

It is examples of using JFlex and CUP, a Java-based lex and yacc like parsing package.

Where is it from?

This stuff is from http://www.csc.calpoly.edu/~gfisher/classes/330/examples/