[antlr-interest] A grammar in different files?

Michael Wiedau wiedau at aixcape.org
Tue Jun 21 02:21:21 PDT 2011

Hello everybody,

I am looking for a way to split a grammar in two or more files. 
We are generating a grammar automatically using xText and xPand. This makes
the grammar .g-file to grow bigger and bigger which is quite unhandy.

Is there any import-statement or anything to spread the ANTLR grammar over
multiple files?

Hope you can help me. 
Best regards, 

More information about the antlr-interest mailing list