Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Recommended C# parser generator?

0 views
Skip to first unread message

Lars von Wedel

unread,
Feb 27, 2003, 5:07:29 AM2/27/03
to

Hi,

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

Miha Markic

unread,
Feb 27, 2003, 10:20:55 AM2/27/03
to
Hi 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...

Tomas Restrepo [MVP]

unread,
Feb 27, 2003, 9:21:21 PM2/27/03
to
Miha,


> 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

Lars von Wedel

unread,
Feb 28, 2003, 2:58:16 AM2/28/03
to
"Tomas Restrepo [MVP]" <tom...@mvps.org> wrote in
news:uppWZAt3...@TK2MSFTNGP12.phx.gbl:

> 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

Frans Bouma

unread,
Feb 28, 2003, 3:39:47 AM2/28/03
to
Lars von Wedel <vonw...@lfpt.rwth-aachen.de> wrote in
news:Xns93305B40B7B1Cvo...@137.226.144.7:

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
=========================================================================

Kunle Odutola

unread,
Feb 28, 2003, 7:19:15 PM2/28/03
to
Lars von Wedel wrote:
> Hi,
>
> which free C# parser generator packages can you recommend? I've seen
> GOLD and ANTLR which can generate C# parsers. Any preferences on
> those?

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

Miha Markic

unread,
Mar 1, 2003, 5:41:32 AM3/1/03
to
> 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 :)

Aaaa, I see.
BTW, is there a C# parser somewhere that actually parses C#?

Miha


Kunle Odutola

unread,
Mar 1, 2003, 8:26:26 AM3/1/03
to

mcs - www.go-mono.net
SharpDevelop - www.icsharpcode.net

>
> Miha

0 new messages