[antlr-interest] Goto instead of exceptions for normal parsing in
C#
Micheal J
open.zone at virgin.net
Wed May 3 23:04:28 PDT 2006
> Antlr is wonderful!
Can't argue with that. ;-)
> 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.
Not unless you plan to develop an alternative V2 runtime lib and codegen.
> Also is there any C# generator and non-java binary
> builds for antlr 3 that can be downloaded?
ANTLR v3 is still in development and codegen infrastructure is still
changing. Most codegen would be necessarily very similar until the basic
interfaces settle I think.
We hope to include something with the next EA. Current C# code hasn't been
updated for the latest round of commits related to changes for tree
building/debugging etc iirc.
Micheal
More information about the antlr-interest
mailing list