[antlr-interest] -Xconversiontimeout

Jim Idle jimi at temporal-wave.com
Wed Jul 14 12:36:53 PDT 2010


For what it is worth, I have only ever had to tell people that they need to increase it and have never decreased it myself. I think we just dump it ;-)

Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Terence Parr
> Sent: Wednesday, July 14, 2010 12:33 PM
> To: antlr-interest at antlr.org interest
> Subject: [antlr-interest] -Xconversiontimeout
> 
> Hi,Does anyone use the following parameter to actually REDUCE the
> conversion timeout?
> 
>   -Xconversiontimeout t   set NFA conversion timeout (ms) for each
> decision
> 
> I'm thinking about simply getting rid of this timeout failsafe. It was
> originally necessary before I added a heuristic that prevented us from
> hitting exponential landmines in the grammar. It's a very crude
> mechanism and I'd like to remove.
> 
> The only situation I've seen where people use the parameter is when
> they need to INCREASE it. In other words, ANTLR will succeed in
> creating the prediction DFA, but it needs a little more time than the
> default.
> 
> So, please let me know your thoughts on this, particularly if you need
> to reduce the time given to DFA construction. The behavior you would
> see is that reducing the parameter using the same exact parser but
> antlr finishes faster.
> 
> Thanks!
> Ter
> 
> 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