I’m using Antlr v3 and java for a project and all goes well in AntlrWorks, but when I switch to Antlr IDE, the plugin for eclipse, the interpreter cannot match the sentence that I wrote, telling me mismatch. And it seems to me that it cannot recognize the list of words to skip that I’ve specified in on lexer. However it is the same that works perfectly in AntlrWorks.
Any suggestions?
I’ve set up the antlr buider in eclipse: Antlr Parser Generator v3.4
This may be a configuration issue. I had several difficulties getting everything to work so, not finding any one place for how to do this, I wrote my own document. Hope this helps.
How To Install ANTLR IDE in Eclipse Indigo
Tested With Indigo R2 and IDE 2.1.2
folder to an appropriate permanent location, for example the same
folder that Eclipse is installed in.
Eclipse.
SAMPLE COMBINED GRAMMAR