[antlr-interest] Token Stream.

queengiraffe <cow_jumped_moon at hotmail.com> cow_jumped_moon at hotmail.com
Wed Jan 29 15:07:51 PST 2003


Sorry a help call from an absolute novice to compiler design. I'm 
using Cpp. 

I understand that to pass the information into the lexer you use:

CalcLexer lexer(cin);

But I cannot figure out how you can dump the tokens onto screen by 
using the lexer class. I wish to do this for testing purpose, so I 
know what tokens are being generated by the lexer.



 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list