kirancodes.me
To Proof Maintenance & Beyond!

An Experiment in Scientific Program Understanding

Mark E. M. Stewart

Abstract

This paper concerns automated analysis of the meaning or semantics of scientific and engineering code. The procedure involves taking a user's existing code, adding semantic declarations for some primitive variables, and automatically identifying formulae. Parsers encode domain knowledge and recognize formulae in different disciplines including physics, numerical methods, mathematics, and geometry. The parsers will automatically recognize and document some static, semantic concepts and help locate some program semantic errors. Results are shown for three intensively studied codes and seven blind test cases; all test cases are state of the art scientific codes. These techniques may apply to a wider range of scientific codes. If so, the techniques could reduce the time, risk, and effort required to develop and modify scientific codes.

BibTeX
@inproceedings{Stewart:ASE00,
  author    = {Mark E. M. Stewart},
  title     = {An Experiment in Scientific Program Understanding},
  booktitle = {ASE},
  pages     = {281--284},
  publisher = {{IEEE} Computer Society},
  year      = {2000},
}

Related papers