I'm interested in writing a compiler for a intermediate byte-code language like C# (a subset of). I'm trying to accumulate all the resources and information I can before the project begins.
I'll be writing the compiler in C# as well, so hopefully down the line my compiler will be able to dogfood itself.
The best resource I have found so far is, Blue - The C# Compiler Written in Pure C#, which is open-source. I've already flipped through its source code and it will be a great resource.
One thing about this project is my CLR knowledge isn't up to par yet and it is one of the things I'm looking to get a deeper insight into by writing this term project.
I'm not looking for general compiler-construction resources, I have plenty of those. I'm looking for resources that will aid me specifically in writing a C# compiler.
- What are some good resources for learning the nitty gritty details of .NET/CLR internals?
- What is the best resource on MSIL?
- Should I use the ANTLR Parser Generator since it lists C# as a target code-gen language or would you consider this "cheating" in terms of this project?