[antlr-interest] How do you implement conditional blocks in tree grammars?

Terence Parr parrt at cs.usfca.edu
Wed Sep 17 16:05:26 PDT 2008


On Sep 17, 2008, at 3:57 PM, Kurt Otte wrote:

> How can I skip a section of the token stream when using a tree grammar
> to implement a conditional block?

^(COND . ^(IF ^(BLOCK .)))

I think.

Ter



More information about the antlr-interest mailing list