[antlr-interest] file size

Justin Murray jmurray at aerotech.com
Tue Nov 8 10:27:26 PST 2011


That sounds very large to me. I have a parser that generates 97940 lines 
of C, and this is for a terribly ambiguous language with lots of 
backtracking. I would recommend doing some left-factoring and maybe add 
some predicates to trim that down a bit.

On 11/8/2011 1:22 PM, yushang wrote:
> Hi everyone,
> Do you think a parser file(C file) with 408284 lines a little big ?
> What is the biggest parser you've ever seen ? Maybe I need to optimize my
> grammar ?
> Many thanks
>
> 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