Skip to main content

Interpreters and Interpretation

  • Chapter
Understanding and Writing Compilers

Part of the book series: Macmillan Computer Science Series

  • 59 Accesses

Abstract

An interpreter is simply a device which takes some representation of a program and carries out the operations which the program specifies — i.e. it mimics or simulates the operations which a machine would carry out if it were directly capable of processing programs written in that language. A compiler takes a similar representation of a program and produces instructions which, when processed by a machine, will carry out the operations which the program specifies. The difference between an interpreter and a machine under this definition is not very great: the microprogram of a computer is an interpreter which reads a machine code program and imitates the behaviour that a ‘real’ machine would express given that program.

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

© 1979 Richard Bornat

About this chapter

Cite this chapter

Bornat, R. (1979). Interpreters and Interpretation. In: Understanding and Writing Compilers. Macmillan Computer Science Series. Palgrave, London. https://doi.org/10.1007/978-1-349-16178-2_20

Download citation

  • DOI: https://doi.org/10.1007/978-1-349-16178-2_20

  • Publisher Name: Palgrave, London

  • Print ISBN: 978-0-333-21732-0

  • Online ISBN: 978-1-349-16178-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics