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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Literature
AHO, A.V. and ULLMANN, J.D.: The Theory of Parsing, Translation and Compiling, vol. 1, Prentice Hall, Englewood Cliffs, N.J., 1972
CIESINGER, J.: Discussion of Some Error Correction Techniques. Institut für Informatik, Technische Universität München, Technical report (to appear)
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
GRIES, D.: Compiler Construction for Digital Computers. Wiley, New York, 1971
TURNER, D.A. Error Diagnosis and Recovery in One Pass Compilers. Information Processing Letters, vol. 6, No. 4, 1977, pp.113–115
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
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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