Hello,
I downloaded the Java 1.6 grammar from http://www.antlr.org/grammar/list but
I'm having some trouble getting it to work.
Having simply opened it in ANTLRworks (1.3.1), it's already in trouble
regarding the unicode definition of IDENTIFIERS at the bottom. This isn't much
of an issue for me though, as I'm paring it down to
just "the basics" that I need.
More serious, is the error I get once I've fixed that:
FailedPredicateException(compilationUnit,{can't deal with predicates yet}?).
This seems to be related to the grammar specifying global backtracking and
memoization:
options {
backtrack=true;
memoize=true;
}
But if I remove that, the grammar becomes ambiguous and doesn't work...
I could just parse outside ANTLRWorks, but... Well... I really like the easy
access to the visual parse-trees ANTRLWorks gives me. :)
Any tips would be most welcome!
Regards,
Søren
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.