[antlr-interest] Goto instead of exceptions for normal parsing in C#

Martin Probst mail at martin-probst.com
Wed May 3 23:31:22 PDT 2006


Hi,

do you mean you can't run stuff multi threaded *after* parsing or  
that the generated parser is non-reentrant (e.g. non-threadable)? The  
latter is a well known fact, the first would be new to me.

Martin

Am 04.05.2006 um 06:45 schrieb Mark Pollack:

> Hi,
>
> I'm also keenly interested in that.  There was a thread a while ago  
> that V3 would improve in this area of C# code generation.  How is  
> that progressing?  Also related is the need we have found (in  
> Spring.NET) to lock at the highest level in order to perform  
> expression evaluation in a multithreaded environment (i.e. ASP.NET)  
> due to the use of static variables in the code.  There were some  
> other reasons leading us in that direction, I'd have to dig up the  
> details.
>
> Cheers,
> Mark
>
>
> ________________________________
>
> From: antlr-interest-bounces at antlr.org on behalf of Frank Hileman
> Sent: Wed 5/3/2006 7:55 PM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] Goto instead of exceptions for normal  
> parsing in C#
>
>
>
> Antlr is wonderful!
>
> Is there a trick to get Antlr to generate code that
> uses goto instead of throwing exceptions for normal
> parsing (not parse errors), using the C# generator?
> The exceptions make it harder to debug.
>
> Also is there any C# generator and non-java binary
> builds for antlr 3 that can be downloaded?
>
> Thanks,
> Frank Hileman
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
>
>
>



More information about the antlr-interest mailing list