For those of you that might be interested in seeing what the insides of a compiler look like, you might want to check out Mike Stall’s blog. He wrote a C# compiler (which was written in C# too) a couple of years ago and wanted to release the source code. Now this isn’t the “real” C# compiler (csc.exe) source, but it’s a good start for those wanting to know more about compilers (particularly those that might have a compiler class in college). Anyway, his actual post with a link to the code is here:
UPDATE: It looks like the download link is finally working again on his site. So if you couldn’t get the code earlier, it’s up now.