[Mono-dev] Utilizing the C# Parser

Miguel de Icaza miguel at ximian.com
Fri Feb 3 12:20:04 EST 2006


Hello,

> The mcs C# parser is optimized to compilation, so it won't give you
> all the information you would want, instead it would give you a
> "pre-compilation" tree where somethings where already changed to
> optimize the compilation etc... 

This is true, but only to a very small extent.

The parsing stage does very few transformations on the input data (like
introducing implicit blocks for variable declarations) but other than
that it should be pretty much what he wants.

Now, the reality is that MCS is not a library, and we do not make any
kind of guarantees about is API stability, and its also licensed under
the GPL which might be a problem if used in a commercial product.

Miguel.



More information about the Mono-devel-list mailing list