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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights 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