A statistical analysis of syntax errors

  • Authors:
  • G.David Ripley;Frederick C. Druseikis

  • Affiliations:
  • The University of Arizona, Tucson, AZ 85721, U.S.A.;Bell Laboratories, Holmdel, NJ 07733, U.S.A.

  • Venue:
  • Computer Languages
  • Year:
  • 1978

Quantified Score

Hi-index 0.02

Visualization

Abstract

A study of errors made by Pascal programmers is described. The results of this study are discussed in relation to compiler syntax error recovery procedures. It is found that syntax errors made in practice are quite simple and occur relatively infrequently (generally at most one per sentence of the language). Also a few types of errors account for most occurrences. These and other findings from the study are helpful in evaluating compiler error handling procedures. A discussion of the relation between these errors and language constructs is presented. Other uses of the information obtained from the study are briefly described.