I'm trying to get the feel for antlr3, and i pasted the Expression evaluator into an ANTLRWorks window (latest version) and compiled it. It compiled successfully and started, but two problems:
- Attempting to use a input of
1+2*4/3;
resulted in the actual input for the parser being1+2*43
. - One of the errors it shows in it's graphical parser tree is
MissingTokenException(0!=0)
.
As i'm new to antlr, can someone help?