[antlr-interest] ANTRL 3.3

Justin Murray jmurray at aerotech.com
Fri Dec 10 11:31:11 PST 2010


Hi Jim,

I suppose I'll stick with 3.2 for now then. What is the timeframe for
3.3.1?

Thanks,

Justin

-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Jim Idle
Sent: Friday, December 10, 2010 1:42 PM
To: antlr-interest at antlr.org
Subject: Re: [antlr-interest] ANTRL 3.3

C target is not ready for 3.3 yet, wait for 3.3.1.

Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Justin Murray
> Sent: Friday, December 10, 2010 6:52 AM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] ANTRL 3.3
> 
> Hello,
> 
> 
> 
> I am currently developing the grammar for a very large language. It
has
> several hundred keywords, and hundreds of syntax permutations in the
> form of commands. The language itself is poorly designed, but we
> unfortunately have to continue to support it. My question involves the
> update to ANTLR v3.3. My grammar file is able to be processed by ANTLR
> v3.2 without any errors, and produces a working output (C target). I
> had to bump up the java stack size to 64M, and the heap size to 1024M,
> but from what I have read this is fairly common. The processing takes
> about
> 15 seconds on average. Yesterday, I decided to try upgrading to ANTLR
> v3.3, but have been unsuccessful. When processing the exact same
> grammar file, it will spend several minutes consuming one of my cpu
> cores, and then ultimately crash with an outOfMemory exception. I
tried
> increasing the memory further, but it made no difference. I tried
using
> the -Xwatchconversion option, but it was not very helpful. It prints
> out thousands of lines like "convert DFA state 4192 (229 nfa states)",
> but never appears to get stuck on a particular line, it just
eventually
> runs out of memory. What has changed in v3.3 that could cause this to
> happen?
> What should I try next?
> 
> 
> 
> Thank you,
> 
> Justin Murray
> Software Engineer
> jmurray at aerotech.com
> 
> Aerotech, Inc.
> 101 Zeta Drive
> Pittsburgh, PA 15238
> 412-963-7470
> 
> 
> 
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address


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