|Small C Compiler cmcl2!acfcluster.nyu.edu!chrisopj@uunet.UU.NET (1993-05-03)|
|Re: Small C Compiler firstname.lastname@example.org (1993-05-04)|
|Re: Small C Compiler email@example.com (1993-05-05)|
|Re: Small C Compiler firstname.lastname@example.org (1993-05-06)|
|Re: Small C Compiler email@example.com (1993-05-08)|
|Re: Small C Compiler firstname.lastname@example.org (1993-05-17)|
|From:||email@example.com (Tommy Thorn)|
|Organization:||DAIMI: Computer Science Department, Aarhus University, Denmark|
|Date:||Wed, 5 May 1993 12:32:36 GMT|
firstname.lastname@example.org (Elan Feingold) writes:
>>(I'm also going to snag either the dragon book or the "Crafting a Compiler
>>in C" to run along beside it...)
>Unless you're heavily into theory, I would skip the dragon book and pick
>up Alan Holub's most excellent "Compiler Design in C." He goes through
>the design of lex and yacc clones in great detail (all source code
>included) and then builds a C compiler with them. The release I had
>contained lots of typos and other small errors -- I found about 15 in the
>first 150 pages! But all in all it's an excellent book -- IMHO. I got
>the "Crafting a Compiler" book and then returned it in favor of Holub's.
>Another nice thing about it is that he does go into theory, besides having
>all the source code there too.
While I agree "Crafting a Compiler" isn't worth the money, I strongly
disagree with your suggestion. The dragon book isn't just an excellent
compiler book, it's a real classic, with a vast source of algorithms and
representations whose usefulness range way beyond compiler applications.
To get the practical aspects I'd recommend studying free compilers in
parallel with reading the book, like Small C, lcc, gcc, (in order of
difficulty) and properly others.
And I'm *not* into theory at all.
A completely other thing, it the fact that the code generation and
optimization chapter is beginning to show age, in view of more modern
techniques, like SSA and RTL. Does anyone know of a book which is more up
to date on these issues?
Return to the
Search the comp.compilers archives again.