15 used & new from $41.04

Have one to sell? Sell yours here
 
 
Modern Compiler Implementation in ML
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

Modern Compiler Implementation in ML (Hardcover)

~ (Author) "This book describes techniques, data structures, and algorithms for translating programming languages into executable code..." (more)
Key Phrases: stm goto, predictive parsing table, static nesting depth, Maximal Munch, Webster's Dictionary, Perform Algorithm (more...)
2.8 out of 5 stars  See all reviews (9 customer reviews)


Available from these sellers.


1 new from $95.55 14 used from $41.04

Formats

Amazon Price New from Used from
  Hardcover, December 12, 1997 -- $95.55 $41.04
  Paperback, July 7, 2004 $56.64 $37.75 $28.00

Customers Who Bought This Item Also Bought

ML for the Working Programmer

ML for the Working Programmer

by Lawrence C. Paulson
4.0 out of 5 stars (5)  $56.70
Elements of ML Programming, ML97 Edition (2nd Edition)

Elements of ML Programming, ML97 Edition (2nd Edition)

by Jeffrey D. Ullman
4.5 out of 5 stars (6)  $40.70
Real World Haskell

Real World Haskell

by Bryan O'Sullivan
4.6 out of 5 stars (22)  $43.18
Types and Programming Languages

Types and Programming Languages

by Benjamin C. Pierce
4.8 out of 5 stars (6)  $58.23
Compiling with Continuations

Compiling with Continuations

by Andrew W. Appel
4.5 out of 5 stars (2)  $72.00
Explore similar items

Editorial Reviews

Review

"Contains most up-to-date compiler techniques. Contains good programming assignment." Professor Zhong Shao, Yale University


Product Description

This textbook describes all phases of a modern compiler: lexical analysis, parsing, abstract syntax, semantic actions, intermediate representations, instruction selection via tree matching, dataflow analysis, graph-coloring register allocation, and runtime systems. It includes good coverage of current techniques in code generation and register allocation, as well as functional and object-oriented languages, that is missing from most books. The most accepted and successful techniques are described in a concise way, rather than as an exhaustive catalog of every possible variant. Detailed descriptions of the interfaces between modules of a compiler are illustrated with actual ML signatures. The first part of the book, Fundamentals of Compilation, is suitable for a one-semester first course in compiler design. The second part, Advanced Topics, which include SSA form, loop scheduling, pipelining, and optimization for cache-memory hierarchies, can be used as the basis for a second semester or graduate course. A unique feature of the book is a well designed compiler implementation project in ML, including front-end and "high-tech" back-end phases, so that students can build a complete working compiler in one semester. Accompanying support software is available.

Product Details

  • Hardcover: 548 pages
  • Publisher: Cambridge University Press (December 13, 1997)
  • Language: English
  • ISBN-10: 0521582741
  • ISBN-13: 978-0521582742
  • Product Dimensions: 9.5 x 7.7 x 1.2 inches
  • Shipping Weight: 2.4 pounds
  • Average Customer Review: 2.8 out of 5 stars  See all reviews (9 customer reviews)
  • Amazon.com Sales Rank: #1,836,222 in Books (See Bestsellers in Books)

More About the Author

Andrew W. Appel
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Andrew W. Appel Page

Inside This Book (learn more)




What Do Customers Ultimately Buy After Viewing This Item?


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
 
(13)
(10)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

9 Reviews
5 star:
 (3)
4 star:
 (1)
3 star:    (0)
2 star:
 (1)
1 star:
 (4)
 
 
 
 
 
Average Customer Review
2.8 out of 5 stars (9 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
17 of 17 people found the following review helpful:
5.0 out of 5 stars One of the better compiler texts, July 3, 2006
This book covers a remarkably broad territory of compiler issues, with a good balance of clarity and depth. It spends long enough on each topic to work through examples of functioning code, but doesn't dwell on any for so long that the reader loses interest. A decent set of variations on language design, runtime organization, and machine architecture are also discussed and implemented.

An important caveat is that readers ought to know some dialect of ML. If not, this book does not teach it; there are alternative renditions of the same text in C and Java, but I have not read them. Apparently many reviewers find those confusing. The java rendition, for example, has many angry reviewers. Possibly disgruntled students who had a hard time with their coursework, possibly people with valid complaints about the text.

All I can say is that I quite enjoyed it, and return to it regularly for its clear presentation, when working with related algorithms.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
13 of 14 people found the following review helpful:
4.0 out of 5 stars Good, but not an introduction to either compilers or ML, November 7, 2002
By A Customer
Amazon Verified Purchase(What's this?)
Appel explains the structure of a compiler in a very clear and precise fashion, including a lot of quite modern techniques. *However* it is only clear and precise if you have a rough high-level understanding of compilers and a good knowledge of ML beforehand. (If you understand one of the two, it is an excellent book for learning the other but you will need to do some thinking for yourself.)

If you're looking to learn about compilers from the very beginning, buy something else (I liked "Crafting A Compiler" as a starting point). If you're wanting to get a lot more precise about the way you build compilers, buy this book.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
6 of 6 people found the following review helpful:
5.0 out of 5 stars Extremely valuable, but not for the faint of heart, August 1, 2007
I love this book. Having experimented with compiler construction for some time (though never seriously), and being a long-time ML user, Modern Compiler Implementation in ML was the perfect companion to my compiler-construction project. I largely ignored the "Tiger" language described in the book - I had my own ideas about what I wanted to create. Relying on the book to give you code for a whole compiler is asking far too much. The general concepts are explained, and then reinforced with sample code. I suspect the people who have complained bitterly about this book are actually just looking for a source code print out.

All in all, very worthwhile. Read a chapter, try to implement the concepts, and then either re-read the same chapter, or move on.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

1.0 out of 5 stars Good Information Masked by Bad Editting
This book has a lot of valuable information with regard to the construction of a compiler, that fact is overshadowed by the amazingly poor editting. Read more
Published on November 10, 2003 by B. Lucey

2.0 out of 5 stars Not good as a first book on compilers
This book aims at teaching the reader how to write compilers and interpreters. Compared to other books (most notably the Dragon book - Aho, Sethi & Ullman: Compilers -... Read more
Published on October 27, 2002 by Jacob Marner

1.0 out of 5 stars Amazingly tough book to use
This book is a textbook that forces you to work on a toy language called Tiger, then take you step by step thru the Lexer, Parser, Semantic Analyzer ... Read more
Published on October 14, 2001

5.0 out of 5 stars A very well constructed book
Appel very clearly describes, step by step, the implementation of a compiler, and explains as well the reasons why ML is a good language to use. Read more
Published on July 12, 2000

1.0 out of 5 stars Burn 55 Dollars rather than buy this book
When you write a text, the idea is to convey some sort of information. This text did nothing of the sort. Often the text is highly ambigious. Read more
Published on May 6, 2000 by JD Rodgers

1.0 out of 5 stars modern compiler implementation in ML
I cannot describe my hate for this book in such a small space. Appel's writing is embarassingly bad. Some of the ML code he gives as examples doesn't even compile in sml. Read more
Published on May 2, 2000

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   




Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.



Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.