Skip to main content

Discussion of Some Error Correction Techniques

  • Conference paper
  • 61 Accesses

Part of the book series: Informatik-Fachberichte ((INFORMATIK,volume 19))

Summary

Four techniques of error correction will be presented which to our knowledge have not yet been incorporated in a compiler. Three of these techniques allow automatic generation of the error correction module from a given LL(k)-grammar. They are

  • dynamic reliability checking: possible corrections are checked, whether they allow for an error free analysis of a dynamically determined number of input symbols following the error place.

  • partial back-up possibility: back-up information is provided in order to enable the parser to withdraw from error situations into which analysis might have been brought by some erroneous symbols before the place where the error was detected.

  • dialog form of error correction: the user has the possibility to insert and/or delete symbols around the error place.

  • adaptability to a special user environment: the system accepts the descriptions of (preferably) the most common errors, recognizes the described error situation and initiates error correction earlier and therefore in a more efficient manner than without such a description.

Although up to now they have been applied only to a LL(k)-based analyser these techniques are applicable to other parsing-methods as well. A more detailed presentation of these techniques is given in [2].

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   49.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   59.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Literature

  1. AHO, A.V. and ULLMANN, J.D.: The Theory of Parsing, Translation and Compiling, vol. 1, Prentice Hall, Englewood Cliffs, N.J., 1972

    Google Scholar 

  2. CIESINGER, J.: Discussion of Some Error Correction Techniques. Institut für Informatik, Technische Universität München, Technical report (to appear)

    Google Scholar 

  3. FISCHER, C.N., MILTON, D.R. and QUIRING, S.B.: An Efficient Insertion-Only Error Corrector for LL(1) Parsers. Conference Record of the 4th ACM Symposium on the Principles of Programming Languages, 1977, pp. 97–103

    Google Scholar 

  4. GRIES, D.: Compiler Construction for Digital Computers. Wiley, New York, 1971

    MATH  Google Scholar 

  5. TURNER, D.A. Error Diagnosis and Recovery in One Pass Compilers. Information Processing Letters, vol. 6, No. 4, 1977, pp.113–115

    Article  Google Scholar 

  6. RIPLEY, G.D. and DRUSEIKIS, P.C.: Towards a Compiler Error Recovery Effectiveness Rating. Technical Report, Computer Science Department, The University of Arizona, Tucson, Arizona, April 1976

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1979 Springer-Verlag Berlin · Heidelberg

About this paper

Cite this paper

Ciesinger, J. (1979). Discussion of Some Error Correction Techniques. In: Böhling, K.H., Spies, P.P. (eds) GI — 9. Jahrestagung. Informatik-Fachberichte, vol 19. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-67444-0_23

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-67444-0_23

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-09664-1

  • Online ISBN: 978-3-642-67444-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics