[antlr-interest] scope and composite grammar

Rampon Jerome ramponjerome at yahoo.fr
Fri Feb 3 14:25:28 PST 2012


I did not find any data in markmail or antlr-interest on the following
and would appreciate any feedback, experiment

I split a large grammar in let 'say grammar TOP, A, B and lexer C
TOP import A, B and C

I wonder how scopes (or members) defined in TOP rules (or in TOP members) 

could be accessed in A or B ?
Is there one way to do it

-for TOP scopes ?
-for TOP members ?

Any idea to bypass or get some equivalent if not possible



More information about the antlr-interest mailing list