Modern Compiler Implementation in Java and over 360,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
44 used & new from $25.94

Have one to sell? Sell yours here
 
   
Modern Compiler Implementation in Java
 
 
Start reading Modern Compiler Implementation in Java on your Kindle in under a minute.

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

Modern Compiler Implementation in Java (Hardcover)

~ (Author), Jens Palsberg (Contributor) "This book describes techniques, data structures, and algorithms for translating programming languages into executable code..." (more)
Key Phrases: public void visit, predictive parsing table, memo slot, I-Fetch Read Unpack, Perform Algorithm, Analyze Algorithm (more...)
2.4 out of 5 stars  See all reviews (23 customer reviews)

List Price: $90.00
Price: $74.70 & this item ships for FREE with Super Saver Shipping. Details
You Save: $15.30 (17%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Only 5 left in stock--order soon (more on the way).

Want it delivered Tuesday, December 1? Choose One-Day Shipping at checkout. Details
Ordering for Christmas? To ensure delivery by December 24, choose FREE Super Saver Shipping at checkout. Read more about holiday shipping.

23 new from $66.39 21 used from $25.94

Formats

Amazon Price New from Used from
  Kindle Edition, December 13, 1997 $59.76 -- --
  Hardcover, October 31, 2002 $74.70 $66.39 $25.94
  Paperback, November 30, 2007 -- $57.50 $10.00

Frequently Bought Together

Modern Compiler Implementation in Java + Compilers: Principles, Techniques, and Tools (2nd Edition) + Engineering a Compiler
Price For All Three: $224.04

Show availability and shipping details

  • This item: Modern Compiler Implementation in Java by Andrew W. Appel

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Compilers: Principles, Techniques, and Tools (2nd Edition) by Jeffrey D. Ullman

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Engineering a Compiler by Keith D. Cooper

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Compilers: Principles, Techniques, and Tools (2nd Edition)

Compilers: Principles, Techniques, and Tools (2nd Edition)

by Jeffrey D. Ullman
4.1 out of 5 stars (68)  $95.29
Engineering a Compiler

Engineering a Compiler

by Keith D. Cooper
3.6 out of 5 stars (10)  $54.05
Advanced Compiler Design and Implementation

Advanced Compiler Design and Implementation

by Steven S. Muchnick
4.2 out of 5 stars (18)  $75.00
Programming Language Processors in Java: Compilers and Interpreters

Programming Language Processors in Java: Compilers and Interpreters

by David Watt
4.2 out of 5 stars (8)  $60.42
Introduction to Algorithms, Second Edition

Introduction to Algorithms, Second Edition

by Charles E. Leiserson
3.9 out of 5 stars (103)  $54.84
Explore similar items

Editorial Reviews

Review

"...fit[s] comfortably and usefully between cookbooks and encyclopedias on compilation...suitable for self-study." Computing Reviews

"A well-written book, which strictly adheres to a no-nonsense style." Computing Reviews


Product Description

This textbook describes all phases of a 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 thorough coverage of current techniques in code generation and register allocation, and the compilation of functional and object-oriented languages. The most accepted and successful techniques are described and illustrated with actual Java^TM® classes. The first part is suitable for a one-semester first course in compiler design. The second part; which includes the compilation of object-oriented and functional languages, garbage collection, loop optimization, SSA form, instruction scheduling, and optimization for cache-memory hierarchies; can be used for a second-semester or graduate course. This new edition includes more discussion of Java and object-oriented programming concepts such as visitor patterns plus a new Mini-Java programming project. A unique feature is the newly redesigned compiler project in Java for a subset of Java itself. The project includes both front-end and back-end phases.

Product Details

  • Hardcover: 512 pages
  • Publisher: Cambridge University Press; 2 edition (November 2002)
  • Language: English
  • ISBN-10: 052182060X
  • ISBN-13: 978-0521820608
  • Product Dimensions: 9.2 x 7.4 x 1.2 inches
  • Shipping Weight: 2.3 pounds (View shipping rates and policies)
  • Average Customer Review: 2.4 out of 5 stars  See all reviews (23 customer reviews)
  • Amazon.com Sales Rank: #469,466 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #36 in  Books > Computers & Internet > Programming > Languages & Tools > Compilers

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?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

 

Customer Reviews

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

 
26 of 27 people found the following review helpful:
3.0 out of 5 stars A reasonable undergraduate compilers text, August 11, 1999
By A Customer
I find this to be one of the better choices currently available as a textbook for an undergraduate compilers course. As it promises, it presents a modern view of compiler construction, and many difficult new techniques are covered fairly clearly. The book is particularly appealing because it provides a fairly explicit cookbook for how to construct a compiler from start to finish, and the different parts of the book fit together much better than in, say, the Dragon Book. It also contains good material on implementing more advanced language features.

The book has a number of weaknesses that have been touched on by other reviewers. The number of errors in the text is larger than it should be. The explanations of certain topics are weak: LR parsing and dataflow equations come to mind. In general, topics are covered in only slightly more depth than a class lecture on the topic would reach. This makes the book less useful as a reference after the course ends.

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



 
20 of 22 people found the following review helpful:
4.0 out of 5 stars It's the only *modern* compiler textbook out there, May 6, 2001
By A Customer
I have taught a graduate compiler class out of this text, and that worked out very well. But I would not recommend this text for an introductory undergraduate compiler course without an automata theory and programming languages prerequisite.

Students loved the sophisticated compiler design built up in the text, but suffered through overly concise and sometimes incomplete explanations (I think many of the "errors" reported are really omitted details). Much of that can be made up for in lectures, but it makes the text hard going on its own.

So why is this an important text to consider? The Dragon book is out of date on compiler optimization, and good optimization books (I like Morgan best, Muchnick second) really can not serve as "big picture" compiler texts -- they are good reference books. Optimization is where it's at these days, and this is the only textbook that easily builds to that level.

Don't be fooled by the Java edition. The compiler design reflects the ML/Haskell school of data abstraction, and will seem odd to Java programmers. But that's a good experience in itself.

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



 
15 of 17 people found the following review helpful:
2.0 out of 5 stars How someone else's compiler works piece by piece..., September 25, 2002
By "mikem9" (Waltham, MA USA) - See all my reviews
This book does show you how a compiler is implemented, literally. The author has a compiler already coded which he breaks down piece by piece and shows you how the pieces work.

Unfortunately, instead of only giving you what you need to know for a specific piece, alot of future material is added too soon because it's already in the code. What would've been good is to trim out that stuff and give examples of code that wasn't part of the complete compiler but explained a specific point and only that point.

Too much time is spent explaining pre-existing code that implements the modules in a ready-built compiler, and not enough time is spent describing what each module in a compiler is supposed to do and how you'd do it yourself or alternative ways of implementing functionality.

If only there was a compiler book that was halfway between this one and the Dragon book...

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

3.0 out of 5 stars Only good for Experienced Readers - No good for Beginners
For reasons of local tradition I am using this book in my Compiler Course in this semester. For students (and practioners) who already know the theory behind a compiler, this book... Read more
Published on July 24, 2006 by S. Gruner

2.0 out of 5 stars Mediocre at best
It's been quite some time since I read this book, and my tastes in languages have changed quite a bit since then, so it's possible that if I read this book today, I would have a... Read more
Published on May 9, 2006 by Daniel Doel

4.0 out of 5 stars Average compiler text with advanced topics
This book is not as bad as some reviewers say. But if you expect to get a cookbook how to write your own compiler in Java (what the title could suggest), you would be a bit... Read more
Published on October 22, 2005 by Jos van Roosmalen

1.0 out of 5 stars An absolute waste of paper
Andrew Appel's textbook (Modern Compiler implementation in Java) has been prescribed as a Course Textbook. Read more
Published on January 8, 2005 by Ravishekhar Gopalan

2.0 out of 5 stars Vague at Best.
I've read through several compiler texts over the past few months as I work away on a compilers project for school. Read more
Published on February 28, 2004 by joeblarnystone

5.0 out of 5 stars Finally, a compiler book that makes sense to me.
I love the chapter layout and the explanations of compiler concepts contained in this book. The language is a bit dry and somewhat mathematical at times. Read more
Published on October 3, 2003

5.0 out of 5 stars One of my favorite book
It's so sad that the rating of this book is this bad since I love this book so much. This book might have some weaknesses but I believe that this book is well worth getting. Read more
Published on April 27, 2002 by JEONG CHEOL JOO

4.0 out of 5 stars Wonderful content marred by confusing samples and typography
As many others have noted, the "Dragon Book" by Aho, Sethi, and Ullman feels outdated today. Read more
Published on December 12, 2001 by John Källén

1.0 out of 5 stars ALL HOPE ABANDON, YE WHO ENTER HERE.
I held the accursed object with both hands and examined it closely. It felt small and weak There was a change after I finished the exam. Read more
Published on December 10, 2001

2.0 out of 5 stars Not a good general compiler book
I used this as one of three textbooks for an undergraduate compiler class I taught at MIT (the other two were the Dragon book and Muchnick). Read more
Published on November 13, 2001 by Nathan J Williams

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
 


Active discussions in related forums
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.