Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.
Modern Compiler Implementation in Java and over 300,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.
 
 
More Buying Choices
48 used & new from $12.96

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 yours here.
 
  

Modern Compiler Implementation in Java (Hardcover)

by Andrew W. Appel (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: $89.00
Price: $67.64 & this item ships for FREE with Super Saver Shipping. Details
You Save: $21.36 (24%)
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 Monday, July 13? Choose One-Day Shipping at checkout. Details
28 new from $34.75 20 used from $12.96
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $60.88
Hardcover 35 used & new from $1.29
Paperback 6 used & new from $10.00

Frequently Bought Together

Modern Compiler Implementation in Java + Compilers: Principles, Techniques, and Tools (2nd Edition) + Introduction to Algorithms, Second Edition
Price For All Three: $215.69

Show availability and shipping details


Customers Who Bought This Item Also Bought

Introduction to Algorithms, Second Edition

Introduction to Algorithms, Second Edition

by Thomas H. Cormen
4.1 out of 5 stars (171)  $58.90
Advanced Compiler Design and Implementation

Advanced Compiler Design and Implementation

by Steven Muchnick
4.2 out of 5 stars (18)  $100.00
Engineering a Compiler

Engineering a Compiler

by Keith Cooper
3.6 out of 5 stars (8)  $64.70
Programming Language Pragmatics, Third Edition

Programming Language Pragmatics, Third Edition

by Michael L. Scott
4.8 out of 5 stars (22)  $67.45
Modern Compiler Implementation in C

Modern Compiler Implementation in C

by Andrew W. Appel
2.9 out of 5 stars (10)  $61.20
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.

See all Editorial Reviews

Product Details


Inside This Book (learn more)



Books on Related Topics (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.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

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

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)



 
18 of 20 people found the following review helpful:
4.0 out of 5 stars Average compiler text with advanced topics, October 22, 2005
By Jos van Roosmalen (The Netherlands, Europe) - See all my reviews
(REAL NAME)   
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 disappointed.

The advantage is that this book covers also advanced topics such as register allocation, frame layouting and flow analysis. There are a lot of books which covers simple parsing and codegeneration only, but this book goes futher.

The disadvantage is that Java code snippets of the compiler which are printed in the book is not of great quality (e.g. public member variables, instead of getter/setters and private vars). Maybe the code of quality is compromised to reduce the size of the code in the book.

If you're looking for only a theoretical book, buy 'Engeering a compiler (Cooper et al)'. If you're looking for a pure practical book buy 'Progamming Language Processors in Java: compilers and interpreters' (David Watt).

This book is just between these 2 books: theoretical plus some practical sauce.
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

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

2.0 out of 5 stars How someone else's compiler works piece by piece...
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... Read more
Published on September 25, 2002 by mikem9

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

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

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


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


RotoZip Makes Difficult Cuts Easy

Shop all Rotozip products
RotoZip is proud to offer high-performance accessories, attachments, and tools to cut through a wide variety of materials.
 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Tighten to a T

Shop for Torque Wrenches
When it's critical to determine the exact tightness of your nuts and bolts, a torque wrench is the tool to use.

Shop all torque wrenches

 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 
Ad

 

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.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

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

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Glenn Beck's Common Sense
Glenn Beck's Common Sense
Darkfever
Darkfever by Karen Marie Moning
Finger Lickin' Fifteen
Finger Lickin' Fifteen by Janet Evanovich

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates