Hi Sam,
When I dealt with semantic predicates I put the unique prefix part of the rule
into a predicate.
I put the predicate on those rules that ANTLR said were ambiguous.
For example:
| (binarySelector) => binarySelector variableName
| (MINUS MINUS) => specialBinarySelector variableName
I found out most of the information on predicates by googling "ANTLR Semantic
Predicates"
Rgs, James.
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en.