문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top