A minimal fork of Java CUP parser generator so it can be used as a library