Question

I am building ANTLR3 applications where some of the same grammar rules are likely to be used in different applications. There will be many *.g files but they may, for example, all wish to reference the same version of FLOAT. Are there "import" facilities whereby a *.g can be assembled from other *.g files and if so what are the precedence rules?

Was it helpful?

Solution

You mean composite grammars?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top