Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > Books on compil...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 2321 of 2508
Post > Topic >>

Books on compiler backends?

by Kaleb Pederson <kaleb.pederson@[EMAIL PROTECTED] > Feb 5, 2008 at 12:56 PM

Hello all,

I'm looking for some good books on compiler backends.  I'm fairly
proficient with the scanners and parsers, but am now starting work on
some source-to-source translation projects and need to become much
more familiar with backends and the related technologies and
algorithms.

Given my AST's, I now need to be able to handle tree transformations
as I manipulate everything towards my target language.  I've been
trying to figure out things like the following:

* if I should manually walk/manipulate the tree or use a tree grammar
  with a sup****ting tool (such as ANTLR's generated tree
  parser/rewriter)
* if there are any good/standard tree matching or rewriting algorithms
* whether or not I can use the standard instruction selection
  algorithms for my source-to-source translation
* how to correctly handle logical inference with inheritance
  hierarchies

I currently have the Dragon Book (original version) and Appel's
"Modern Compiler Implementation in Java" but don't find either
particularly well suited for what I need to do:

http://net.gurus.com/bk/a/0321486811
(Aho et al, new dragon book)
http://net.gurus.com/bk/a/052182060X
(Appel et al, Modern Compiler
Construction in Java)

After perusing some of the compiler books, the following books looked
like they might be good candidates, but wanted to get some feedback:

http://net.gurus.com/bk/a/0471976970
(Grune et al, Modern Compiler Design)
http://net.gurus.com/bk/a/155860698X
(Cooper and Torczon, Engineering a
Compiler)
http://net.gurus.com/bk/a/1558602860
(Allen and Kennedy, Optimizing
	Compilers for Modern Archtectures)
http://net.gurus.com/bk/a/1558603204
(Muchnick, Advanced Compiler Design)

I'm leaning towards the first two, "Modern Compiler Design" and
"Engineering a Compiler" as they seem to have the most relevant
content.

Thoughts or suggestions, even if completely different from what I've
suggested?

Thanks.

--Kaleb
[I'm always looking for additions and updates to the list of compiler
books in the FAQ.  I have a copy of Muchnick and like it pretty well.
-John]
xs
 




 3 Posts in Topic:
Books on compiler backends?
Kaleb Pederson <kaleb.  2008-02-05 12:56:40 
Re: Books on compiler backends?
Jyrki Saarinen <jyrki@  2008-02-09 11:06:28 
Re: Books on compiler backends?
Kaleb Pederson <kaleb.  2008-02-11 13:03:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 6:57:56 CDT 2008.