Question

i'm looking for some information about c# compiler like syntax diagrams , lexical analyzer , how it finds tokens , syntax analyzer and ... .

unfortunately I couldn't find anything about this ,

any helps would be highly appreciated.

Was it helpful?

Solution

Microsoft .NET Compiler Platform, knows as Roslyn was open sourced couple weeks ago.

Go to http://roslyn.codeplex.com and get source code for both C# and VB.NET compilers. You can browser the source online at http://source.rosly.codeplex.com as well.

When you have the code, you can generate diagrams, find out how it finds tokens, etc.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top