[antlr-interest] How to make this work ?? Again

mzukowski at yci.com mzukowski at yci.com
Mon Dec 23 09:26:20 PST 2002


Also see http://www.codetransform.com/filterexample.html for another
strategy for dealing with question #2.

Monty

-----Original Message-----
From: mzukowski at yci.com [mailto:mzukowski at yci.com]
Sent: Monday, December 23, 2002 9:25 AM
To: antlr-interest at yahoogroups.com
Subject: RE: [antlr-interest] How to make this work ?? Again
	
...

Question 2 is trickier.  It's the "what if my keywords can also be
identifiers?" question discussed in the FAQ at
http://www.jguru.com/faq/view.jsp?EID=140.  The deal is that the parser
can't talk back to the lexer, so you need to either figure out how to have
the lexer solve the problem or have the parser be able to change keywords
back to identifiers.  A more specific example with sample input would be a
good place to start that discussion.
...

 

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



More information about the antlr-interest mailing list