Direct implementation of compiler specifications or the pascal p-code compiler revisited

  • Authors:
  • Don Milos;Uwe Pleban;George Loegel

  • Affiliations:
  • Department of Computer and Communication Sciences, The University of Michigan, Ann Arbor, MI;Department of Computer and Communication Sciences, The University of Michigan, Ann Arbor, MI;Department of Computer and Communication Sciences, The University of Michigan, Ann Arbor, MI

  • Venue:
  • POPL '84 Proceedings of the 11th ACM SIGACT-SIGPLAN symposium on Principles of programming languages
  • Year:
  • 1984

Quantified Score

Hi-index 0.00

Visualization

Abstract

We have developed a complete formal specification of the translation semantics of the Pascal P-compiler. The specification is written as a semantic grammar (a variant of extended attribute grammars), and has been extensively tested and debugged with the aid of Lawrence Paulson's experimental semantics processor. The translation semantics models the operational aspects of compilation in detail. It is one-pass, embodying static semantic checking, address assignment, code generation, and a certain amount of code improvement. Our paper describes the development history of the project, compares the new compiler with the existing P-compiler, and discusses our positive experience with semantic grammars and Paulson's system.