[Mono-list] parse generator

Kunle Odutola kunle.odutola@virgin.net
Sun, 9 Feb 2003 15:58:57 -0000


> -----Original Message-----
> From: mono-list-admin@lists.ximian.com
> [mailto:mono-list-admin@lists.ximian.com]On Behalf Of Stefan Matthias
> Aust
> Sent: 05 February 2003 08:21
> To: mono-list@ximian.com
> Subject: Re: [Mono-list] parse generator
>=20
>=20
> Derek Gottfrid wrote:
>=20
> > i am looking for a parse generator for c#. i looked at jay but it is =
not
> > much to my liking - anybody used antlr w/ c# option? other options?
>=20
> According to www.antlr.org, that unspeakable program also supports C#.

ANTLR   (pronounciation: =C4=83n=C5=A5l=E2=88=82r -- like "antler")

n. ANother Tool for Language Recognition

;-)

> Coco/R is another tiny LL(k) parser generator which also supports C# =
and=20
> (I think) the C# version is written in C# (at least the Java version =
is=20
> written in Java).

If memory serves, Coco/R is LL(1) not LL(k). It does support a form of =
attributed grammar and limited LL(1) conflict resolution though.

> However, as I prefer LR(k) parser over LL(k) ones, jay seems to a be a =

> very practical solution.

Out of interest, why do you prefer LR(k) parsers over LL(k) parsers?

Kunle