[antlr-interest] ANTLRWorks Interpreter problem? Linux

Hugo Garcia hugo.a.garcia at gmail.com
Sun Nov 5 15:23:46 PST 2006


ok

found that you are working on that part.

http://www.antlr.org/wiki/display/ANTLR3/interpreter+cannot+handle+syntactic+predicates

In the mean time, I guess I can work in debugger mode to see the parse
tree... just to verify that things are working.

thanks

-H

On 11/5/06, Terence Parr <parrt at cs.usfca.edu> wrote:
> 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