Realistic Compiler Generation

Realistic Compiler Generation

by Peter Lee
     
 

In this book Peter Lee provides a complete description and survey of the field of semantics based compiler generation and presents a new method for expressing the formal semantics of programming languages that allows realistic compilers to be generated automatically.

The method Lee describes has two main advantages over previous methods. First, it allows compilers

…  See more details below

Overview

In this book Peter Lee provides a complete description and survey of the field of semantics based compiler generation and presents a new method for expressing the formal semantics of programming languages that allows realistic compilers to be generated automatically.

The method Lee describes has two main advantages over previous methods. First, it allows compilers to be generated automatically. The compilers are realistic in the sense that they compile programs as efficiently as hand crafted compilers do, and the object programs they produce run as efficiently as the object programs produced by hand crafted compilers. The second advantage is that it makes it easier to comprehend and write the semantics than other methods.

The book demonstrates a working compiler generator called MESS which is used to generate a realistic compiler for a Pascal-like language. The generated compiler is then compared with several hand crafted compilers and shown to have at least comparable, and in some cases superior, performance.

Peter Lee is Assistant Professor of Computer Science at Carnegie Mellon University. Realistic Compiler Generation is included in the series Foundations of Computing, edited by Michael Garey and Albert Meyer.

Read More

Editorial Reviews

Booknews
A revised version of a doctoral dissertation (U. of Michigan, 1987). Describes and surveys the field of semantics-based compiler generation and presents a new method for expressing the formal semantics of programming languages that allows realistic compilers to be generated automatically. Annotation c. Book News, Inc., Portland, OR (booknews.com)

Product Details

ISBN-13:
9780262121415
Publisher:
MIT Press
Publication date:
08/01/1989
Series:
Foundations of Computing Series
Pages:
265
Product dimensions:
7.25(w) x 9.36(h) x 0.81(d)

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >