Modern Compiler Implementation in Java

This textbook describes all phases of a compiler and includes thorough coverage of current techniques in code generation and register allocation,... more
Author:
Andrew W. Appel; Jens Palsberg
Format:
Hardcover
Edition:
2nd Edition, Revised

Delivery:
South Africa Usually within 9 working days.
Seller:
kalahari.com or 3rd party seller
3rd Party:
used from R 150.00
Now:
R565.00
eBucks:
eB5 650
Discovery Miles:
5 650
  • Pintrest

Short description

This textbook describes all phases of a compiler and includes thorough coverage of current techniques in code generation and register allocation, plus the compilation of functional and object-oriented languages. The most accepted and successful techniques are described and illustrated.

Long 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.

Product details

Publisher:
Cambridge University Press
ISBN:
9780521820608
Publication date:
October 2002
Length:
236mm
Width:
193mm
Thickness:
27mm
Weight:
929g
Edition:
2nd Edition, Revised
Pages:
512
Illustrations:
80d.35tabs. 135exercises
Readership:
Tertiary education; Professional & scholarly
Edition:
Revised edition (2)
Pages:
512

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

Table of contents

  • Part I
  • Fundamentals of Compilation
  • Introduction
  • Lexical analysis
  • Parsing
  • Abstract syntax
  • Semantic analysis
  • Activation records
  • Translation to intermediate code
  • Basic blocks and traces
  • Instruction selection
  • Liveness analysis
  • Register allocation
  • Putting it all together
  • Part II
  • Advanced Topics
  • Garbage collection
  • Object
  • oriented languages
  • Functional programming languages
  • Polymorphic types
  • Dataflow analysis
  • Loop optimizations
  • Static single
  • assignment form
  • Pipelining and scheduling
  • The memory hierarchy
  • Appendix
  • Mini
  • Java reference manual

Customer reviews & ratings

More buying options

Sell yours here
Showing 1-10 of 3 listing(s).
Price Condition Seller Comments Buy from 3rd Party
R150.00 + R40.00 Post office delivery Like New carienlg

Rating:

Ask a question (0)
Member since:
13 Feb 2010
Location:
Pretoria, South Africa

Delivery: Dependent on 3rd party seller

Add to basket
R150.00 + R40.00 Post office delivery Acceptable Karlien Vosloo

Rating:

Ask a question (0)
Member since:
03 Nov 2011
Location:
The Reeds, South Africa

Delivery: Dependent on 3rd party seller

Comments: Used by Student - Highlighter and Pencil Marks

Add to basket
R150.00 + R40.00 Post office delivery Like New Neil R

Rating:

Ask a question (0)
Member since:
23 Apr 2012
Location:
Rondebosch, South Africa

Delivery: Dependent on 3rd party seller

Add to basket