[antlr-interest] (no subject)

Pascal Parrot pascal_parrot at hotmail.com
Wed Nov 14 23:54:52 PST 2012


Jim,
Yes, I looked a the generated code, but the error is on this line:
protected static final PredictionContextCache _sharedContextCache = new PredictionContextCache();
PredictionContextCache does not appear anywhere else in the file and  _sharedContextCache is a parameter in a function.

Even if there was a huge something there, I wouldn't know what to do with it.

I guess my question is:
Is antlr (java) suited for grammars with large sets of keywords and many parser rules?
If it is, how should the grammar be organized so that the generated code fits within the limits of java in terms of size? Using hashmaps helps in the lexer, but what about in the parser?

Pascal
 		 	   		  


More information about the antlr-interest mailing list