Posted By:
Martin_Blume
Posted On:
Sunday, May 6, 2007 06:16 AM
Hi people.
<
I have to use antlr in java to generate a parse tree for a simple java-like grammar.
But while generating the tree, i have to ask for rules in my grammar and don't know how to do this.
For example if i want to choose an alternative for expanding a nonterminal symbol.
How can i do this in java?
Btw, i use eclpse.
Thx for answers,
Martin.