Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ann: Practical Compiler Construction

16 views
Skip to first unread message

Nils M Holm

unread,
Apr 28, 2012, 2:09:24 AM4/28/12
to

I thought you might be interested in 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 a post-book version
of SubC has already been ported to FreeBSD/x86-64,
NetBSD/x86-64 as well as Linux/386. Porting it to other
Unix-like systems should be easy.

The complete code from the book is in the public domain
and can be downloaded at

http://www.t3x.org/subc/ (book version)
http://www.t3x.org/subc/current/ (post-book version)

Enjoy!

--
Nils M Holm < n m h @ t 3 x . o r g > www.t3x.org
0 new messages