This file contains all of the installments of Jack Crenshaw’s tutorial on compiler construction, including the new Installment 15. The intended audience is those folks who are not computer scientists, but who enjoy computing and have always wanted to know how compilers work. A lot of compiler theory has been left out, but the practical issues are covered. By the time you have completed the series, you should be able to design and build your own working compiler. It will not be the world’s best, nor will it put out incredibly tight code.Your product will probably never put [anybody] out of business. But it will work, and it will be yours.
This tutorial is ancient, but is still a fun romp, especially for a beginner: Build A Compiler Download