Re: Something "simpler" than the Dragon Book

cgbatema@undergrad.math.uwaterloo.ca (Cameron Bateman)
28 Jul 1999 01:46:11 -0400

          From comp.compilers

Related articles
Something "simpler" than the Dragon Book smct@frontiernet.net (Susan Thibodeau) (1999-07-25)
Re: Something "simpler" than the Dragon Book t.hutt@worldnet.att.net (Taylor Hutt) (1999-07-28)
Re: Something "simpler" than the Dragon Book aserafin@post.pl (Andrzej Serafin) (1999-07-28)
Re: Something "simpler" than the Dragon Book cgbatema@undergrad.math.uwaterloo.ca (1999-07-28)
Re: Something "simpler" than the Dragon Book ast@halcyon.com (1999-07-28)
Re: Something "simpler" than the Dragon Book d97roli@dtek.chalmers.se (1999-07-28)
Re: Something "simpler" than the Dragon Book flvdberg@wxs.nl (Floris van den Berg) (1999-07-28)
Re: Something "simpler" than the Dragon Book Sid-Ahmed-Ali.TOUATI@inria.fr (Sid Ahmed Ali TOUATI) (1999-07-28)
Re: Something "simpler" than the Dragon Book albaugh@agames.com (1999-07-28)
Re: Something "simpler" than the Dragon Book vincent.englebert@info.fundp.ac.be (Vincent Englebert) (1999-07-30)
[9 later articles]
| List of all articles for this month |
From: cgbatema@undergrad.math.uwaterloo.ca (Cameron Bateman)
Newsgroups: comp.compilers
Date: 28 Jul 1999 01:46:11 -0400
Organization: University of Waterloo
References: 99-07-119
Keywords: books

Susan Thibodeau <smct@frontiernet.net> wrote:
>In particular, I would appreciate references to any book that provides
>a (relatively) simple and gentle introduction to how
>compilers/interpreters work. The book should be meaty enough to
>provide a decent foundation for understanding Aho, Sethu, and Ullman's
>"Compilers" book (a.k.a. the Dragon Book).


I book we used for my compiler course (@University of Waterloo) was
called "Crafting a Compiler" by Fischer and Leblanc. It is fairly
easy to follow. The book basically shows you how to implement a
compiler for a workable subset of the Ada language. Everything is
example driven using pseudo-C. Apparently, some of the tools
described in the book (including a lexer and LALR parser generator)
are available somewhere on the net. The main weak points of the book
are that it is too old to adequately cover object-oriented techniques
and, perhaps more importantly, it falls short of describing in depth
ways of doing semantic analysis using attribute grammars (although
AG's are described along with some algorithms). But if you're happy
with the "hackedness" of using a parser-driven semantic stack, then
you shouldn't have a problem.


Regards,


Cam
--
/ Cameron Bateman
/ 4B MATH/CS
/ University of Waterloo


Post a followup to this message

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