Frage

It seems that Roslyn provides new APIs to expose many compiler internal data structure for code analysis, etc. And the C# and VB compiler has been rewritten for such purpose. So can I access the compiler source besides the new APIs?

War es hilfreich?

Lösung

Disclaimer: I work for Microsoft on the Roslyn team.

Source code for the compilers is not included in the Roslyn CTP. Releasing source is something that we are considering, but don't have any firm plans at the moment.

Andere Tipps

Roslyn has gone fully open source since April 3, 2014. The compiler source code is now available. http://roslyn.codeplex.com/

The C# and VB compilers are being rewritten in C# and VB, respectively.

However, the source for the compilers has not yet been released.
Hopefully, the source will be released in the framework source drop for an upcoming version of .Net.

You can see the compilers in ILSpy.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top