Modern Compiler Implementation in Java

Modern Compiler Implementation in Java

By (author) Andrew W. Appel , With Jens Palsberg

US$85.29

Free delivery worldwide

Available
Dispatched in 2 business days

When will my order arrive?

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.

show more
  • Hardback | 512 pages
  • 190.5 x 231.14 x 27.94mm | 1,065.94g
  • 21 Oct 2002
  • CAMBRIDGE UNIVERSITY PRESS
  • Cambridge
  • English
  • Revised
  • 2nd Revised edition
  • 80 b/w illus. 35 tables 135 exercises
  • 052182060X
  • 9780521820608
  • 442,541

Other books in this category

Other people who viewed this bought:

Review quote

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

show more