Playing with JFlex, Cup, Java, and C++