Andrew Stopford's Weblog

poobah

Sponsors

News

Articles

Family

Old Blogs

Books for CLR coders

If your a CLR wonk then I recommend the following books

If you are interested in researching/writing your own compiler then I recommend (for this topic I also recommend the IL books and the CLI Annotated Standard book, here you will have all the information you need on IL and CLI's PE/COFF file structure. The SSCLI book will also prove useful in helping navigate the Rotor code base to understand a phyiscal implementation of the material in the CLI Annotated Standard book, a great code base to test your compiler on).

This is my own personal take,  book choice does differ between coders however if any are missing of the list that you feel should be there, leave me a note and I will add it.

Comments

rxm said:

Build Your Own .Net Language and Compiler
includes a complete QuickBasic compatible compiler with source code. Not only does this illustrate the techniques taught in the book, it provides a great new .NET language ideal for teaching kids, simple scripting, or just for fun.
# December 3, 2003 2:45 PM

Robert Hurlbut said:

Great list! Another to add: Simon Robinson's Advanced .Net Programming
# December 3, 2003 3:46 PM

Edward G. Nilges said:

Build Your Own .Net Language and Compiler is now out as of May 2004.

It demonstrates that language is as Microsoft ways, under the CLR, a "lifestyle choice".

I like C# but elected to use Visual Basic because the key isn't the language it is using the right approach.

This is neither hacking some crude solution nor is it mindlessly using yacc and lex. It's instead being able to implement an overall simple but at times tricky set of approaches from computer science.

I do recommend that the compiler writer use BNF. But I then point out that IF you have understood enough, it becomes another lifestyle choice to use an automatic parser generator. This is true unless you need elaborate diagnostics, where automatic generation of handle sets becomes a convenience.

However, using an automatic tool without the understanding that comes from doing the job by hand is rather like using a chain saw or a gun without proper training.

In my opinion.
# July 8, 2004 11:59 PM

Andrew Stopford's Weblog said:

The SSCLI aka Rotor tends to not draw all that much attention unless your a researcher or CLR wonk but

# August 21, 2008 7:53 AM