[antlr-interest] breaking the Java code out of a grammar

Jim Idle jimi at temporal-wave.com
Fri May 8 15:17:55 PDT 2009


Pete Siemsen wrote:
>  is fairly static -  
> it's the interspersed Java that changes.
>
> A while back, someone on this mailing list suggested that my grammar  
> might benefit if I were to move all the Java into a separate .java  
> file. 
>
> This seems like an interesting idea.
>
>
> Anyway, does this idea have any merit?
>   
IMO it is the only way you should code it, but then again, it may have 
been me that suggested this to you in the first place.

Jim


More information about the antlr-interest mailing list