The Research Laboratory af Electronics is an interdepartmental laboratory in which faculty members and graduate students from numerous academic departments conduct research.
Formatted input-output is available in a number of programming languages.In the most general case, the corresnondence between data items and format items cannot be determined during comoilation, and so it is determined dynamically during execution. However, in most oairs 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: optimiaation , 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 theorv. Using this formalism, an algorithm for determining the correspondence is given, and its application is illustrated by examples in both PL/I and FORTRAN.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.