MCS-287 Notes for 2006-02-17

The attached version of is essentially where we got to in our previous work on it in class, where it skips whitespace (but not comments) and recognizes LITERALs, but classifies all other characers as OTHER. The main procedure prints out all the tokens up to (but not including) the EOF. Now, using Java Generics and in particular the Collection classes, we can play around with modifications such as:

Course web site:
Instructor: Max Hailperin <>