I've tested my parser on some complicated examples from example input file, I have nagging doubts, but it seems to work. Elizabeth you should look at my tests, I have to create token streams for my parser to use, you can look at them to verify that your lexer creates what it needs.