20070512

Build Your Own .NET Language and Compiler (with source code)

book cover

This practical book presents techniques that you can apply to everyday work. You’ll learn to add scripts and macro languages to your applications, add runtime expression evaluation to their applications, and generate code immediately. Further, you will learn parsing techniques, which are essential to extract information from any structured form of data—like text files, user input, XML, or HTML. As a bonus, the book includes a complete QuickBasic compatible compiler with source code that works. The compiler illustrates the book’s techniques and acts as a versatile .NET language.

All software developers use languages, which are the fundamental tool of the trade. Despite curiosity about how languages work, few developers actually understand how. Unfortunately, most texts on language and compiler development are hard to digest, written from academic platforms for use in college-level computer science programs. On the other hand, Build Your Own .NET Language and Compiler demystifies compiler and language development, and makes the subjects palatable for all programmers.

TABLE OF CONTENT:
Ch 01 - A Brief History of Compiler Technology
Ch 02 - A Brief Introduction to the .NET Framework
Ch 03 - A Compiler Flyover
Ch 04 - The Syntax for the QuickBasic Compiler
Ch 05 - The Lexical Analyzer for the QuickBasic Compiler
Ch 06 - QuickBasic Object Modeling
Ch 07 - The Parser and Code Generator for the QuickBasic Compiler
Ch 08 - Developing Assemblers and Interpreters
Ch 09 - Code Generation to the Common Language Runtime
Ch 10 - Implementing Business Rules
Ch 11 - Language Design: Some Notes
Appendix A - quickBasicEngine Language Manual
Appendix B - quickBasicEngine Reference Manual

NOTE: There is something you should know. Source code is not complete! There is about 90+% of it in my upload but not whole. It is, also, the reason why I upload it separated from the book so you could deceide for yourself will you downlad it or not. Naturaly, there is no way for me to know which parts are missing so don't ask me, I don't know. Sorry, but it's not my fault and this is the best I could get. I recomend you to use it because (even like this) will save you a lot of time.
I simply thought it would be fair from me to warn you about this.

Download book here

Password: ganelon

Download source code here
no password