Skip to main content
  • Textbook
  • © 1988

Compiler Engineering Using Pascal

Part of the book series: Computer Science Series (COMPSS)

  • 453 Accesses

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (16 chapters)

  1. Front Matter

    Pages i-x
  2. Introduction — What is a compiler?

    • P. C. Capon, P. J. Jinks
    Pages 1-2
  3. A simple language and machine

    • P. C. Capon, P. J. Jinks
    Pages 3-10
  4. Compiler organisation

    • P. C. Capon, P. J. Jinks
    Pages 11-25
  5. The P compiler

    • P. C. Capon, P. J. Jinks
    Pages 26-51
  6. Loading and running programs

    • P. C. Capon, P. J. Jinks
    Pages 52-62
  7. Language grammars

    • P. C. Capon, P. J. Jinks
    Pages 63-70
  8. Lexical analysis

    • P. C. Capon, P. J. Jinks
    Pages 71-84
  9. Syntax analysis

    • P. C. Capon, P. J. Jinks
    Pages 85-110
  10. Semantic analysis

    • P. C. Capon, P. J. Jinks
    Pages 111-122
  11. Code generation

    • P. C. Capon, P. J. Jinks
    Pages 123-136
  12. Compiled code: statements

    • P. C. Capon, P. J. Jinks
    Pages 137-153
  13. Compiled code: run time stack organisation

    • P. C. Capon, P. J. Jinks
    Pages 154-171
  14. Compiled code: types and variables

    • P. C. Capon, P. J. Jinks
    Pages 172-186
  15. Code optimisation

    • P. C. Capon, P. J. Jinks
    Pages 187-193
  16. Final considerations for Pascal

    • P. C. Capon, P. J. Jinks
    Pages 194-201
  17. Modula-2

    • P. C. Capon, P. J. Jinks
    Pages 202-208
  18. Back Matter

    Pages 209-214

About this book

Presents a systematic, engineered but practical approach to compiler writing. The text is oriented towards practical examples, and suggestions for both paper exercises and coursework on the computer are provided. A simple illustrative compiler is presented in the early part of the book. This compiler is written in standard Pascal and is available for experimentation and modification. Later chapters discuss, with examples, all major aspects of Pascal compilers, including the use of tools such as YACC and LEX.

Authors and Affiliations

  • Department of Computer Science, University of Manchester, UK

    P. C. Capon, P. J. Jinks

Bibliographic Information