[antlr-interest] Re: [antlr-dev] still more optimization

Terence Parr parrt at cs.usfca.edu
Tue May 23 13:34:14 PDT 2006


On May 23, 2006, at 1:46 PM, Kunle Odutola wrote:

>> Looks like I have reduced the ASN1 grammar Magne problem submitted to
>> actually terminate in 3 minutes as opposed to run out of 600M of ram
>> and crashing.  It only uses 40M max now. :)  Still have some issues
>> with it...i'll keep cranking...
>
> Is this 600M used by a running lexer/parser or, 600M used by the  
> Antlr tool
> trying to analyze the lexer/parser grammar and generate code?

Running antlr itself...

> If the latter, how big is the grammar?. File size and approximate % of
> comments is a good enough indicator.

The ASN1.g grammar w/o lexer rules is like 1600 lines. no comments

Ter


More information about the antlr-interest mailing list