[antlr-interest] v3 - How to deal with include Files?

Terence Parr parrt at cs.usfca.edu
Fri Aug 25 14:53:02 PDT 2006


On Aug 23, 2006, at 2:14 PM, Alexandre Porcelli wrote:

> Hi All,
>
>  Id like to know how to deal with include Files?
>
>   In v2 there is TokenStreamSelector, how can I solve a include file
> problem using v3?

Hi.  These days I am starting to think include files are more easily  
handled with a simple input stream that looks for the #include. there  
is an example of  an island grammar in the version 3 examples dir.

Ter



More information about the antlr-interest mailing list