I've just begun working with ANTLR and was trying to follow a simple example I found on SO from awhile ago: ANTLR: Is there a simple example?
I want to do a similar type of thing with my ANTLR 4 project. Does anyone know how I could do this?
I have my grammar defined and it can generate correct trees.
Essentially, I want to see the answer generated from a mathematical expression, not just a confirmation that my grammar is correct.
Please help!