Skip to main content

Parsing

  • Chapter
Parsing Theory

Part of the book series: EATCS Monographs on Theoretical Computer Science ((EATCS,volume 15))

Abstract

In this chapter we shall introduce the central concept of this monograph, namely the parsing of context-free languages. The theory of parsing plays an important role in the design of compilers for programming languages. Every compiler includes a module called the parser, which has a twofold task in the compilation process. First, the parser checks that the program text to be compiled is syntactically correct, i.e., derivable by the context-free grammar of the programming language. In doing this the parser acts as a language recognizer. Secondly, if the program text proves to be syntactically correct, the parser goes on to produce some intermediate representation of the text for use as input to the module responsible for object code generation. In doing this the parser acts as a text transformer.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1988 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Sippu, S., Soisalon-Soininen, E. (1988). Parsing. In: Parsing Theory. EATCS Monographs on Theoretical Computer Science, vol 15. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-61345-6_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-61345-6_5

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-64801-4

  • Online ISBN: 978-3-642-61345-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics