Re: C# Grammar and tools (James Power)
28 Feb 2002 00:14:00 -0500

          From comp.compilers

Related articles
C# Grammar and tools (2002-02-16)
Re: C# Grammar and tools (Burkhard Perkens-Golomb) (2002-02-28)
Re: C# Grammar and tools (2002-02-28)
Re: C# Grammar and tools (Caltech News Server) (2002-02-28)
| List of all articles for this month |

From: (James Power)
Newsgroups: comp.compilers
Date: 28 Feb 2002 00:14:00 -0500
References: 02-02-047
Keywords: parse
Posted-Date: 28 Feb 2002 00:14:00 EST (Jerome) wrote in message news:02-02-047...
> I wonder if there is already a C# grammar available somewhere ?...

I've put together some flex/bison sources for C# based on the grammar
in appendix C of version 0.28 of the C# language specification.

The flex/bison files are available at:

There's also an Open Source project called Mono that's developing a C#
compiler (in C#) - there's a C# grammar for a bison-like tool in
there; see

James Power.
National University of Ireland, Maynooth.

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.