Abstract
Part II of this paper deals with treatments of statical errors as mentioned in the introduction of Part I. In recent years several attempts have been made to construct parsers for detecting or correcting syntactical errors automatically [3, 6, 7, 9 ]. We introduce an error correcting algorithm for a part of the ALGOL-60-BNF-Syntax based on techniques for treating regular languages which were developed earlier [3]. Three types of errors are investigated: deletion-(G), mutation-(H) and insertion-(J)-errors. The technique will be demonstrated by choosing two nontrivial examples of the BNF part of the ALGOL-60-syntax, namely the unsigned numbers as a regular event and the arithmetic expressions as a nonregular one.
Program testing can be used to show the presence of bugs, but never to show their absence!
[2]
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
BACKUS et.al. Rev. Rep. on the Algorithmic Language ALGOL 60
DIJKSTRA Notes on Structured Programming
EGGERS Zur Theorie und Praxis Selbstkorrigierender Regularer Sprachen
GLUSCHKOW Theorie der abstrakten Automaten
HOPCROFT/ ULLMAN Formal Languages and their Relation to Automata
IRONS An Error-Correcting Parse Algorithm
LYON Least-Errors Recognition of Mutated Context-Free Sentences in Time n3 log n
SALOMAA Theory of Automata
TEITELBAUM Diagnostics of Syntax Errors
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1973 Springer-Verlag Berlin · Heidelberg
About this paper
Cite this paper
Eggers, B. (1973). Error Reporting, Error Treatment, and Error Correction in Algol Translation — Part 2. In: Deussen, P. (eds) GI. Gesellschaft für Informatik e.V. 2. Jahrestagung. Lecture Notes in Economics and Mathematical Systems, vol 78. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-80732-9_20
Download citation
DOI: https://doi.org/10.1007/978-3-642-80732-9_20
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-06127-4
Online ISBN: 978-3-642-80732-9
eBook Packages: Springer Book Archive