[antlr-interest] ANTLRWorks Interpreter problem? Linux

Terence Parr parrt at cs.usfca.edu
Sun Nov 5 14:51:36 PST 2006


interpreter doesn't work yet for syntactic predicates...sorry.
Ter
On Nov 5, 2006, at 12:12 PM, Hugo Garcia wrote:

> hi
>
> using v3 of antlr and antlrWorks in Linux. I am using the java grammar
> v3 in the the examples. I created a simple java class definition and
> pasted it into the interpreter (after generating the parser/lexer form
> antlrWorks). When I click on the > button with 'compilationUnit' in
> the dropdown then I get a 'FailedPredicateException(compilationUnit,
> {synpred4}?)' error in the resulting parse tree zone pane. Curiously,
> if I run the debugger witht the same java class as input then I can
> see the tree being built.
>
> What am I doing wrong?
>
> thanks
>
> -H



More information about the antlr-interest mailing list