Advertisement

Formal Languages and Compilation

  • Stefano Crespi Reghizzi
  • Luca Breveglieri
  • Angelo Morzenti

Part of the Texts in Computer Science book series (TCS)

Table of contents

  1. Front Matter
    Pages i-xiii
  2. Stefano Crespi Reghizzi, Luca Breveglieri, Angelo Morzenti
    Pages 1-4
  3. Stefano Crespi Reghizzi, Luca Breveglieri, Angelo Morzenti
    Pages 5-113
  4. Stefano Crespi Reghizzi, Luca Breveglieri, Angelo Morzenti
    Pages 115-197
  5. Stefano Crespi Reghizzi, Luca Breveglieri, Angelo Morzenti
    Pages 199-381
  6. Stefano Crespi Reghizzi, Luca Breveglieri, Angelo Morzenti
    Pages 383-486
  7. Back Matter
    Pages 487-499

About this book

Introduction

This classroom-tested and clearly-written textbook presents a focused guide to the conceptual foundations of compilation, explaining the fundamental principles and algorithms used for defining the syntax of languages, and for implementing simple translators.

This significantly updated and expanded third edition has been enhanced with additional coverage of regular expressions, visibly pushdown languages, bottom-up and top-down deterministic parsing algorithms, and new grammar models.

Topics and features:

  • Describes the principles and methods used in designing syntax-directed applications such as parsing and regular expression matching
  • Covers translations, semantic functions (attribute grammars), and static program analysis by data flow equations
  • Introduces an efficient method for string matching and parsing suitable for ambiguous regular expressions (NEW)
  • Presents a focus on extended BNF grammars with their general parser and with LR(1) and LL(1) parsers (NEW)
  • Introduces a parallel parsing algorithm that exploits multiple processing threads to speed up syntax analysis of large files
  • Discusses recent formal models of input-driven automata and languages (NEW)
  • Includes extensive use of theoretical models of automata, transducers and formal grammars, and describes all algorithms in pseudocode
  • Contains numerous illustrative examples, and supplies a large set of exercises with solutions at an associated website

Advanced undergraduate and graduate students of computer science will find this reader-friendly textbook to be an invaluable guide to the essential concepts of syntax-directed compilation. The fundamental paradigms of language structures are elegantly explained in terms of the underlying theory, without requiring the use of software tools or knowledge of implementation, and through algorithms simple enough to be practiced by paper and pencil.

The authors are Professors (Dr. Stefano Crespi Reghizzi is Emeritus Professor) of Computer Engineering at the Politecnico di Milano, Italy.

Keywords

Programming Formal languages Translation Compiler Automata Language theory

Authors and affiliations

  1. 1.Dipartimento di Elettronica, Informazione e BioingegneriaPolitecnico di MilanoMilanItaly
  2. 2.Dipartimento di Elettronica, Informazione e BioingegneriaPolitecnico di MilanoMilanItaly
  3. 3.Dipartimento di Elettronica, Informazione e BioingegneriaPolitecnico di MilanoMilanItaly

Bibliographic information

  • DOI https://doi.org/10.1007/978-3-030-04879-2
  • Copyright Information Springer Nature Switzerland AG 2019
  • Publisher Name Springer, Cham
  • eBook Packages Computer Science
  • Print ISBN 978-3-030-04878-5
  • Online ISBN 978-3-030-04879-2
  • Series Print ISSN 1868-0941
  • Series Online ISSN 1868-095X
  • Buy this book on publisher's site