Reputation: 21674
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?
Upvotes: 3
Views: 825
Reputation: 510
Roslyn has gone fully open source since April 3, 2014. The compiler source code is now available. http://roslyn.codeplex.com/
Upvotes: 8
Reputation: 9865
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.
Upvotes: 4
Reputation: 888067
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.
Upvotes: 1