Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news.misty.com!news.iecc.com!nerds-end From: torbenm@diku.dk (Torben Ægidius Mogensen) Newsgroups: comp.compilers Subject: Re: Good practical language and OS agnostic text? Date: Thu, 19 Apr 2012 14:58:56 +0200 Organization: SunSITE.dk - Supporting Open source Lines: 26 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <12-04-037@comp.compilers> References: <12-04-019@comp.compilers> NNTP-Posting-Host: news.iecc.com X-Trace: leila.iecc.com 1334891708 83706 64.57.183.58 (20 Apr 2012 03:15:08 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Fri, 20 Apr 2012 03:15:08 +0000 (UTC) Keywords: books Posted-Date: 19 Apr 2012 23:15:08 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:580 compilers@is-not-my.name writes: > Guys, I'm having a bear of a time finding a good practical language > and OS agnostic text on writing a compiler. I'm weak in math and not > interested in the theoretical details. I want to understand the hows > and whys of compiler writing. Everything I've found is either > gobbledygook equations or "let's use C/C++/Java on UNIX" or things > that are so trivial and focused they don't explain general cases and > can't be extended to anything useful. You could have a look at my book "Introduction to Compiler Design" (http://www.springer.com/computer/swe/book/978-0-85729-828-7), or the free-to-download earlier version called "Basics of Compiler Design" (http://www.diku.dk/hjemmesider/ansatte/torbenm/Basics/index.html). The books are language agnostic, describing techniques independently of any specific implementation langauge, and mostly independently of the source and target languages for the compilers. There is some math, but not as much as in some other compiler textbooks I have seen. I wrote the book mainly as a reaction to the books available at the time, which were either (IMO) too advanced for students just beginning the second year of CS or basically walk-throughs of specific compilers for and in specific languages and, hence, not generally useful. Torben