[antlr-interest] Clarification on documentation
Ciaran Treanor
ciaran.treanor at gmail.com
Tue Aug 23 03:42:10 PDT 2005
Hi, the documentation for ANTLR 2.7.5 (Lexical Analysis with ANTLR)
[http://www.antlr.org/doc/lexer.html#Distinguishing_between_lexer_rules]
contains the following statement:
<quote>
Instead, sufficient power is given to handle the two most common cases
of ambiguity, namely "keywords vs. identifiers", and "common
prefixes"; and for especially nasty cases you can use syntactic or
semantic predicates.
</quote>
Are you implying that "keywords vs. identifiers" and "common prefixes"
can be handled without havinging to use syntactic or semantic
predicates?
Thanks a million,
Ciaran
More information about the antlr-interest
mailing list