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: [email protected] [mailto:[email protected]] On Behalf Of Jim Idle Sent: Friday, December 10, 2010 1:42 PM To: [email protected] 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: [email protected] [mailto:antlr-interest- > [email protected]] On Behalf Of Justin Murray > Sent: Friday, December 10, 2010 6:52 AM > To: [email protected] > 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 > [email protected] > > 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 List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
