[Mono-dev] Using the mono parser

Marek Safar marek.safar at seznam.cz
Sat Jun 7 06:46:39 EDT 2008

Hello Sudarshan,
> I have a personal project which needs a C# parser and I was hoping to 
> use the mono parser. I am having some difficulties and hope the 
> community can help.
> I basically use the GMCS CSharpParser class and the source code parses 
> without errors. But I am not able to get hold of the parse tree to 
> work on. What I would like to do is
> walk the tree once I get hold of it.
The thing which may interest you is something we call mcs DOM, it's 
being currently integrated into MD and based on your description it 
could do what you want. However, the code is not yet part of main mcs 
tree and you have to look into MD tree under 
/main/src/addins/CSharpBinding/Parser/mcs to see if it helps you.


More information about the Mono-devel-list mailing list