Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think.com!mintaka!spdcc!iecc!compilers-sender From: jmd@dlogics.COM (Jens M. Dill) Newsgroups: comp.compilers Subject: Re: Experiences using Holub's Compiler Design in C ? Summary: some impressions of the book Keywords: books, question Message-ID: <690@dlogics.COM> Date: 3 Dec 90 13:53:58 GMT References: <9011291759.AA06388@neuron.tamu.edu> Sender: compilers-sender@iecc.cambridge.ma.us Reply-To: jmd@dlogics.COM (Jens M. Dill) Organization: Datalogics Inc., Chicago Lines: 37 Approved: compilers@iecc.cambridge.ma.us In article <9011291759.AA06388@neuron.tamu.edu>, mcguire@cs.tamu.edu (Tim McGuire) writes: > Has anyone out there used Allen Holub's Compiler Design in C for > a compiler course? I haven't used Holub's book for teaching, but I have used it as a reference for compiler development and I have taught compiler courses from Aho et al. Here are my gut reactions to Holub's book. 1. It is a very readable, practical, down-to-earth view of the subject. Students are going to find it easier to use than any of its competitors, especially if the course focuses on practical aspects as opposed to theory. 2. It shows signs of being hastily assembled. Minor errata are frequent, and you need to be on your toes. Read everything first, then try it out, and make sure you are sure that it works. Most of it does, but you don't want to be caugth when it doesn't. By all means, contact Gene Holub and make sure you have the latest errata listing. He's been doing a good job keeping up with it, as near as I can tell. But don't throw out the book due to the errata. 3. The book contains one serious technical error. The definition of ambiguity, as applied to context-free grammars is just plain wrong. It is the work of about five minutes for a language theorist to construct examples of unambiguous grammars that satisfy Holub's definition of ambiguity and ambiguous grammars that don't. [Gene, if you are listening, I'd meant to open a discussion with you on the subject, but my new employer's outgoing E-mail connections are a pain. -- JMD]. Again, this is not a reason to avoid the book. Hope this helps. And good luck. -- Send compilers articles to compilers@iecc.cambridge.ma.us or {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request. Brought to you by Super Global Mega Corp .com