[antlr-interest] A grammar in different files?

Michael Bedward michael.bedward at gmail.com
Tue Jun 21 03:33:08 PDT 2011


This page in the wiki should help...

http://www.antlr.org/wiki/display/ANTLR3/Composite+Grammars

Michael

On 21 June 2011 19:21, Michael Wiedau <wiedau at aixcape.org> wrote:
> 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,
> Michael
>
>
>
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>


More information about the antlr-interest mailing list