which free C# parser generator packages can you recommend? I've seen GOLD
and ANTLR which can generate C# parsers. Any preferences on those?
Any other suggestions?
Lars
Why would you need a parser?
It is lot easier to use reflection and codedom.
Miha
"Lars von Wedel" <vonw...@lfpt.rwth-aachen.de> wrote in message
news:Xns932F71297C893vo...@137.226.144.7...
> Why would you need a parser?
> It is lot easier to use reflection and codedom.
I can't speak for Lars, but it was my impression he was looking for a tool
that can generate parsers in C# (to parse other things), not that can
generate parsers for the C# language itself :)
--
Tomas Restrepo
tom...@mvps.org
> I can't speak for Lars, but it was my impression he was looking for a
> tool that can generate parsers in C# (to parse other things), not that
> can generate parsers for the C# language itself :)
Absolutely! The languages to parse are rather simple ASCII, but yet too
complicated to work with regular expressions.
Lars
Then I'd go for the GOLD parser. It generates LALR(1) parsers which
are suitable for a lot of languages.
FB
--
======= You can't sell what's free ====================================
Senior Software Engineer @ Solutions Design : http://www.sd.nl
Get my free, open source .NET software at : http://www.sd.nl/software
=========================================================================
ANTLR. It generates fast, human-readable recursive-descent parsers and is a
more modern tool that Yacc and it's ilk.
Kunle
www.antlr.org
Aaaa, I see.
BTW, is there a C# parser somewhere that actually parses C#?
Miha