[antlr-interest] composite grammar

Ivan Brezina ibre5041 at ibrezina.net
Fri May 6 04:09:22 PDT 2011


Quoting jie lu <lukuilian at gmail.com>:

> Hi, All,
>
> I write an huge grammar for MySQL about 7000 lines. For generated code can
> debug in other project, I split it into 30 grammar files.  And run it on
> Linux, set java Xmx=3038M, it is run for 4 hour and did not output result. I
> am not sure how long it will last.
>
> Is there any limitation of file numbers to composite grammar file?
> Without error information outputting, how much time will grammar running
> according to the length of the grammar file?
>

run antlr with -X option, this will show you a list of "advanced" options
and one of them will make antlr prompt the the progress. You'll see
which rule is being prosessed at the moment.

Ivan


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the antlr-interest mailing list