Re: Compiler books (Trevor Jenkins)
30 Aug 2006 16:54:21 -0400

          From comp.compilers

Related articles
Compiler books (Martin Filteau) (2006-08-29)
Re: Compiler books (Tommy Thorn) (2006-08-30)
Re: Compiler books (2006-08-30)
Re: Compiler books (Carl Barron) (2006-08-31)
Re: Compiler books (Aaron Gray) (2006-09-03)
Re: Compiler books (Ranjit Mathew) (2006-09-08)
compiler books (1994-03-22)
compiler books (1996-06-08)
| List of all articles for this month |

From: (Trevor Jenkins)
Newsgroups: comp.compilers
Date: 30 Aug 2006 16:54:21 -0400
Organization: suneidesis
References: 06-08-139 06-08-143
Keywords: books
Posted-Date: 30 Aug 2006 16:54:21 EDT

On 30 Aug 2006 14:09:59 -0400, Tommy Thorn <> wrote:
> Martin Filteau wrote:
> > I would like to have your suggestions. I'm looking for a compiler book
> > with emphasis on instruction selection & register allocation.
> > Specifically, for generating code from C expressions.
> Great question. I too find most of the compiler books too introductory
> and too focused on the front end (parsing, sigh). ...

I always liked Richard Bornat's Understanding and Writing Compilers
(published by MacMillan in 1979 but perhaps not for the US market). To
quote an advertising campaign here in England --- did exactly what it
said on the cover. Bornat concentrated upon code generation (and not
for idealised machines either) and run-time support. No idealised
machines, no simple languages --- he covered syntactic and semantic
issues involved in writing compilers for Algol-68 and Simula-67 plus
the algorithms were presented in BCPL. Only criticism of Bornat's book
I have is his "camera ready copy" from a daisy wheel printer; much
worse than Gries chain printer.

Equally ancient but of good service is Bob Hopgood's Compiling
Techniques. Nice section in there too on code generation. (Though I
did augment the book with his lecture notes.)

> ...Thanks for your
> question, it prompted me to check whatever happed to the Dragon book.
> Apparently, the 2nd edition is due to be released THE DAY AFTER
> TOMORROW! (cf. and

Surely that is the "third" edition; I know the publisher says second
but on my bookshelves there are green (1977) and red (186) dragons and
a slot for the purple should it ever be published before I die or
before Knuth finishes all seven volumes his Art of Computer
Programming, whichever happens first. has two different dates for the purple dragon book: 31
August 2006 (but they can't get hold of a copy) or 31 January
2007. And somewhere there is a bookseller still trying to locate me a
copy of Fran Allen's much announced but never published book.

Regards, Trevor

<>< Re: deemed!
[If anyone gets an actual copy of the new dragon book, please tell us
about it. It's missed innumerable publication dates. -John]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.