Related articles |
---|
New textbook: Practical Compiler Construction nmh@t3x.org (Nils M Holm) (2012-03-13) |
From: | "Nils M Holm" <nmh@t3x.org> |
Newsgroups: | comp.compilers |
Date: | Tue, 13 Mar 2012 18:56:17 +0100 |
Organization: | Compilers Central |
Keywords: | books, available |
Posted-Date: | 14 Mar 2012 00:29:25 EDT |
I am happy to announce my latest textbook,
PRACTICAL COMPILER CONSTRUCTION
A No-nonsense Tour through a C Compiler
which is now available at Lulu.com:
http://www.lulu.com/content/12610903 (Paperback book)
http://www.lulu.com/content/12685672 (PDF download)
See also:
http://www.t3x.org/reload/ (Contents, source code, etc)
The book illuminates the practical side of compiler construction and
takes the reader on a tour through the full source code of a compiler
for a C subset.
It is a book for seasoned programmers with little or no background in
compiler-writing.
Theory will be covered when necessary, but the focus is always on
actual code. The compiler discussed in the book is a clean and simple
implementation that does not "bend the rules" like many other small C
compilers. Its sources pass gcc -Wall -pedantic with little or no
warnings (depending on the gcc version).
The compiler and runtime environment is designed to run on FreeBSD on
a 386 processor, but it should be easy to port it to other popular
Unix-like systems, e.g. Linux.
The complete code from the book is in the public domain and can be
downloaded at
http://www.t3x.org/subc/
Enjoy!
--
Nils M Holm < n m h @ t 3 x . o r g > www.t3x.org
Return to the
comp.compilers page.
Search the
comp.compilers archives again.