• DocumentCode
    750825
  • Title

    Compile-Time Analysis of Data List-Format List Correspondences

  • Author

    Abrahams, Paul W. ; Clarke, Lori A.

  • Author_Institution
    Department of Computer Science, New York University
  • Issue
    6
  • fYear
    1979
  • Firstpage
    612
  • Lastpage
    617
  • Abstract
    Formatted input-output is available in a number of programming languages. In the most general case, the correspondence between data items and format items cannot be determined during compilation, and so it is determined dynamically during execution. However, in most pairs of data and format lists that occur in practice, determination of the correspondence is in fact possible during compilation. Although some commercial compilers make this determination, there is little published literature on the subject. In this paper, we briefly examine three areas in which compile-time determination of the data-format correspondence is useful: optimization, program validation, and automatic test data generation. A formalism for stating the problem is given, and a solution is discussed in terms of formal language theory. Using this formalism, an algorithm for determining the correspondence is given, and its application is illustrated by examples in both PL/I and Fortran.
  • Keywords
    Compilers; formats; input-output; progam optimization; program validation; static program analysis; test data generation; Automatic testing; Computer languages; Computer science; Couplings; Data analysis; Formal languages; Information science; Program processors; Programming profession; Writing; Compilers; formats; input-output; progam optimization; program validation; static program analysis; test data generation;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.1979.230197
  • Filename
    1702678