|Having trouble finding texts on compiler construction. firstname.lastname@example.org (Ryan McCoskrie) (2009-04-12)|
|Re: Having trouble finding texts on compiler construction. nmh@T3X.ORG (Nils M Holm) (2009-04-14)|
|Re: Having trouble finding texts on compiler construction. email@example.com (George Neuner) (2009-04-17)|
|Re: Having trouble finding texts on compiler construction. firstname.lastname@example.org (Dean Wakerley) (2009-04-18)|
|Re: Having trouble finding texts on compiler construction. email@example.com (Louis Krupp) (2009-04-19)|
|Re: Having trouble finding texts on compiler construction. firstname.lastname@example.org (Stephen Horne) (2009-04-20)|
|Re: Having trouble finding texts on compiler construction. email@example.com (Jonathan Thornburg) (2009-04-20)|
|Re: Having trouble finding texts on compiler construction. firstname.lastname@example.org (2009-04-21)|
|Re: Having trouble finding texts on compiler construction. email@example.com (Ray Dillinger) (2009-04-22)|
|Re: Having trouble finding texts on compiler construction. DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-04-24)|
|[2 later articles]|
|From:||"Dean Wakerley" <firstname.lastname@example.org>|
|Date:||Sat, 18 Apr 2009 12:19:29 +0100|
|Posted-Date:||19 Apr 2009 18:33:25 EDT|
I have these:
"Compiler Construction", Niklaus Wirth, ISBN 0-201-40353-6. Written by the
creator of pascal, modula-2, oberon. Small book, 176 pages. There are a few
diagrams but you're not missing anything. Develops an minmal oberon
compiler. Like his languages Wirth's style is the master of concise
simplicity. Available for download here:
http://www-old.oberon.ethz.ch/WirthPubl/CBEAll.pdf. More oberon books here:
"Writing Compilers & Interpreters" (1991), Ronald Mak, John Wiley & Sons
Inc. ISBN 0-471-50968-X. Develops a pascal compiler written in C. There are
the odd diagrams and pascal syntax diagrams (don't be put off) but most in
prose and source code. Develops ideas in steps with runnable programs in
each step. There are newer editions in C++ and java. The C++ edition is 2-3
times more pages and unless you are a sado-masochist or worship the devil
avoid C++ (definitely view before you but). I've not seen the java edition.
"A Retargetable C Compiler: Design and Implementation", Christopher Fraser,
David Hanson, Addison-Wesley. ISBN 0-8053-1670-1. Text and source explains
how to write a c compiler. There few diagrams and formal mathematics (logic
formulae). Harder read than the previous. C is not the best language to
demonstrate compiler construction mainly because it was designed to be
easily implemented on resource restricted machines back in the 1960s. I
think C (and its mutations) compilers should be considered only after you've
got the understanding with a pascal/modula-2 compiler. It will be easier and
you'll learn good habits.
I've heard these are leaders in the field (more academic) but I don't
"Engineering a compiler", Keith Cooper, Linda Torczon, Morgan-Kaufmann. Not
"Modern Compiler Design", Dick Grune, Henri Bal, Ceriel Jacob ... John Wiley
& sons. This does have diagrams you complain of.
"Modern compiler implementation", Andrew Appel ... Cambridge University
Press. Not seen but the are C, Java, and ML versions.
Hope this is helpful,
"Ryan McCoskrie" <email@example.com> wrote in message
> I'm trying to find some good text on compiler construction that don't
> explain things in terms of visual information (trees etcetera) and
> maths(which boils down to processing visual information).
> The reason to this is that I have a rare disability called NLD (Non-verbal
> Learning Disorder) which essentially means that the only parts of my brain
> that act as they should are the ones that deal with interpreting speech.
> Put it this way, Perl syntax makes sense but depth perception doesn't.
> I have tried reading the dragon book but most of it revolved around
> the diagrams. Does anyone know of a text that I could follow? I have
> found a couple of lex and yacc tutorials that have got me to some
> distance but not beyond making interpreters for calculators.
> Quote of the login:
> "Nuclear war can ruin your whole compile." -- Karl Lehenbauer
Return to the
Search the comp.compilers archives again.