Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #20019

Ann: Practical Compiler Construction

From Nils M Holm <news2009@t3x.org>
Newsgroups comp.lang.c, comp.lang.misc
Subject Ann: Practical Compiler Construction
Followup-To comp.lang.c
Date 2012-04-28 06:09 +0000
Organization TARFU
Message-ID <a01fskFf3gU1@mid.individual.net> (permalink)

Cross-posted to 2 groups.

Followups directed to: comp.lang.c

Show all headers | View raw


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

Back to comp.lang.c | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Ann: Practical Compiler Construction Nils M Holm <news2009@t3x.org> - 2012-04-28 06:09 +0000
  Re: Ann: Practical Compiler Construction Rugxulo <rugxulo@gmail.com> - 2012-05-03 11:03 -0700
    Re: Ann: Practical Compiler Construction Nils M Holm <news2009@t3x.org> - 2012-05-04 05:36 +0000

csiph-web