Skip to main content

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

  • 28 Accesses

Abstract

The principles outlined in chapter 3 are now applied to the construction of a P compiler. Separate subsections describe the implementation of the various phases, lexical analysis, syntax analysis, semantic analysis and code generation, in turn. No code optimisation is attempted in the P compiler. The compiler is one pass, with a simple procedural interface between the four phases.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Copyright information

© 1988 P. C. Capon and P. J. Jinks

About this chapter

Cite this chapter

Capon, P.C., Jinks, P.J. (1988). The P compiler. In: Compiler Engineering Using Pascal. Macmillan Computer Science Series. Palgrave, London. https://doi.org/10.1007/978-1-349-10401-7_4

Download citation

  • DOI: https://doi.org/10.1007/978-1-349-10401-7_4

  • Publisher Name: Palgrave, London

  • Print ISBN: 978-0-333-47155-5

  • Online ISBN: 978-1-349-10401-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics