[antlr-interest] Problems with first example
Bill Ramsay
RamsayW1 at comcast.net
Mon Dec 21 06:08:37 PST 2009
Hello,
I'm new to Antlr and am trying to work through the Definitive Guide. I can't seem to get the first example to work.
I create the .g file and lexer and parser classes fine. I compile my example test program fine. And it runs fine. Except for one minor problem - it doesn't work. I put a few debug lines in the code and it gets hung up on the line:
ANTLRInputStream input = new ANTLRInputStream(System.in);
It never seems to move past this line. The code used is copied from the book,page 10 - 12.
Bill
More information about the antlr-interest
mailing list