Search code examples
antlrinterpreterantlr3antlrv3ide

ANTLR Interpreter running error


When i run the interpreter as follows,

Running method

to create parse tree in ANTLR 3.4(in eclipse 3.7) it shows,

Error message

An internal error occurred during: "ANTLR Event Listener". For input string: "false"

When I run the second option Debug(Java) it doesn't give any error nor parse tree.

How can I resolve this?

Thanks


Solution

  • By not using the interpreter.

    No, it's not joke :). AFAIK, antlrv3ide uses the interpreter- and debug-components from ANTLRWorks. And ANTLRWorks' interpreter is rather buggy. However, its debugger works like a charm: so use that.