[Mono-list] couple questions on mcs and parsing

Dennis Lu dlu@rice.edu
Thu, 13 Jun 2002 11:36:45 -0500


I am building what is in essence a simple C# interpreter. What I'm most
interested in right now is the mcs parser as it seems to be the best one
available out there right now and i've got some more questions. I
apologize if these have been answered before.

- how can i build mcs in VS? It says it can't find cs-parser.cs
- how could I get a reference to the generated AST by the parser? looking at
the parse method in the driver, the CSharpParser just gets thrown away.
- would it be possible to add visitor hooks into the AST generated by the
- Is it possible to just extract the files necessary for the parser?


Dennis Lu