Is there a good way to parse C # 3.0 code?

I was looking for a free (as in "free beer") library that can parse C # 3.0 code (in fact, C # 2.0 with lambdas would do that) and return some kind of AST / code DOM code for a personal project, however most the alternatives I've seen so far are inadequate:

So ... is there a free, working C # 3.0 analyzer that can be connected to another project?

+6
source share
2 answers

I got lucky with NRefactory written in C # and used for the SharpDevelop development environment written for Mono:

http://wiki.sharpdevelop.net/NRefactory.ashx

+1
source share

Take a look at http://antlrcsharp.codeplex.com/ This is the C # 4 grammar for the Antlr parser generator.

+2
source share

All Articles