Wednesday, February 20, 2008 08:12 AM
I found no reference about this in the documentation -
I wonder if it's possible to divide the grammar definition between a multiple number of files -
I've defined a pretty large grammar - around 150 rules, spanning over 1500 lines.
When I first tried to generate the code using AntlrWorks, it just got stuck, and after adding more memory to the process, it managed to generate almost 200,000 lines of C# code.
Anyway, It's really hard to test manage such a big grammar. Is there a way to split it between a number of files?