C# Parser

  • Thread starter Thread starter William Stacey [MVP]
  • Start date Start date
Does anyone know of a good C# parser (freeware/open source). I'm looking for
something fast and easy to use, preferably with a CodeDom-like structure.
TIA!

Dan
 
The SSCLI aka Rotor has the C# compiler in source form ready to go.
It wouldn't be very easy to use, but then again, nothing you get is going
to be easy to use. There are a lot of semantics built up in a parse tree
and you are going to be pleasantly surprised at the complexity even in
that form.

Not to say some tasks aren't easy. Processing higher level constructs
such as namespaces, types, and methods is not difficult at all. Getting
deeper into those constructs can be a true pain.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top