Modern Compiler Implementation in Java and over one million other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
or
Get a £11.10 Amazon.co.uk Gift Card
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, or download a FREE Kindle Reading App.

Modern Compiler Implementation in Java [Hardcover]

Andrew W. Appel , Jens Palsberg
3.0 out of 5 stars  See all reviews (4 customer reviews)
RRP: £48.00
Price: £45.60 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £2.40 (5%)
  Special Offers Available
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.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Only 2 left in stock--order soon (more on the way).
Want guaranteed delivery by Friday, June 1? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £34.20  
Hardcover £45.60  
Paperback --  
Trade In this Item for up to £11.10
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in Modern Compiler Implementation in Java for an Amazon.co.uk gift card of up to £11.10, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.

Special Offers and Product Promotions

  • Jubilee offer: spend £10 or more on any product sold by Amazon.co.uk on or before June 6 and you can buy "The Diamond Jubilee - A Classical Celebration Album" for just £2.50. Here's how (terms and conditions apply)

Frequently Bought Together

Customers buy this book with Compilers: Principles, Techniques and Tools £53.79

Modern Compiler Implementation in Java + Compilers: Principles, Techniques and Tools
Price For Both: £99.39

Show availability and delivery details



Product details

  • Hardcover: 512 pages
  • Publisher: Cambridge University Press; 2 edition (21 Oct 2002)
  • Language English
  • ISBN-10: 052182060X
  • ISBN-13: 978-0521820608
  • Product Dimensions: 2.4 x 1.9 x 0.3 cm
  • Average Customer Review: 3.0 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon Bestsellers Rank: 511,242 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

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

Visit Amazon's Andrew W. Appel Page

Product Description

Review

From reviews of the first edition... 'One of the first compiler texts that presents, at an undergraduate level, developments from the mid-1980's onward … This breakdown of topics is a good reflection of where a compiler writer's time actually goes.' Dr. Dobb's Journal

'Serves its intended purpose as a classroom textbook, fitting comfortably and usefully between cookbooks and encyclopedias on compilation … also suitable for self-study.' Computing Reviews

'… I recommend this book as a textbook for both beginning and advanced compiler courses … a well-written book, which strictly adheres to a no-nonsense style, and therefore is a pleasure to read.' 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 good coverage of current techniques in code generation and register allocation, as well as the compilation of functional and object-oriented languages, that is missing from most books. The most accepted and successful techniques are described concisely, rather than as an exhaustive catalog of every possible variant, and illustrated with actual Java classes. 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 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 has been extensively rewritten to include more discussion of Java and object-oriented programming concepts, such as visitor patterns. 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, so that students can build a complete working compiler in one semester.

Inside This Book (Learn More)
First Sentence
This book describes techniques, data structures, and algorithms for translating programming languages into executable code. Read the first page
Explore More
Concordance
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

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
 

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

Most Helpful Customer Reviews
6 of 6 people found the following review helpful
Format:Hardcover
I read most of this book while I was at College as one of my tasks was to build a compiler for the TIGER language, written in Java. The book includes examples and the building blocks of the TIGER language and tells you how to build your compiler, step by step. It also provides some foundations on compiler theory, starting on automata and regular expression theory.

It is hard reading at first and you might have to bang your head a couple of times before you find the correct track. Once you've found your track, you will be fine. It took me about 2 months to go through the first 12 chapters, but it was very rewarding in the end...

The book's website contains information that you can use to update the knowledge base provided by the book. There is also source code to download.

Comment | 
Was this review helpful to you?
13 of 14 people found the following review helpful
Rough 28 Jun 2001
Format:Hardcover
A comprehensive and interesting book, but real hard work. An immediate failing is in the style of writing - concepts are nearly always explained by code examples, which would be fine if the code were neat, clean and correct. However, the many code examples and written in some mock-Java language (it seems to switch between Java and C at random) with terse names such as class names Nx and Cx, with equally hard to follow variable names. In the end, the code is very hard to read, but is critical to understanding. If you time to bang your head off a wall, fine.

If you are interesting in learning how compilers work I would definetley recommend 'Programming Language Processors in Java' by Prof. D. Watt over this text. It covers essentaily the same material but is a much smoother read, and each stage of design and impl. the authors promote quality software engineering practices. None of the frustation and endless re-reading encoutered here.

Comment | 
Was this review helpful to you?
8 of 9 people found the following review helpful
By A Customer
Format:Hardcover
The book leads the reader on a perilous quest to build a compiler for a simple language called Tiger. It is quite a challenge to work through the chapters, but I felt quite a sense of achievement when I was able to complete the tasks at each stage. My main goal was to learn how to write interpreters, not compilers, so I didn't pursue the sections on translation to machine code.

The book has, I feel, two main failings:
1. The writing style is rather obscure and far too concise. Very brief and inadequate explanations are given of key points. In some cases, some important coding techniques are not described in the text at all, and are only discovered if you download the supporting code from his web site.

2. By far the worst fault in the book is the quality of its sample code - both that included in the text and that downloaded from the web site. Variable, method and class names are unnecessarily shortened to meaningless symbols, classes often have the same name as the package in which they reside, code is poorly formatted making it very difficult to read, and the comments are often sparse or absent. In short, it violates all the principles of proper coding we attempt to teach novice programmers. Much of the "code" in the text is actually pseudo-code, not real Java (or anything else).

Having said that, if the reader is willing to persevere, he will learn a good deal from the challenge of overcoming the book's numerous obstacles.

Comment | 
Was this review helpful to you?

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
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges