[antlr-interest] Tree parser eats up DOWN node when navigating optional child node
Junkman
j at junkwallah.org
Wed Aug 4 17:21:33 PDT 2010
Gerald Rosenberg wrote:
> As best I understand your questions, the answers are no, no, and no . . .
>
> Given an input "PAB", your given parser will construct an AST ^( ^(
> PARENT A ) B ) and your given tree grammar will likewise match that.
>
Actually, I don't think I understood you.
You wrote "AST ^( ^( PARENT A ) B )". Can you describe the tree this
notates? I can see it as a node sequence, but I don't know what tree
structure it is describing.
Thanks for the reply.
Jay
More information about the antlr-interest
mailing list