Skip to Main content Skip to Navigation
Conference papers

Partial Evaluation for Program Comprehension

Abstract : Program comprehension is the most tedious and time consuming task of software maintenance, an important phase of the software life cycle. This is particularly true while maintaining scientific application programs that have been written in Fortran for decades and that are still vital in various domains even though more modern languages are used to implement their user interfaces. Very often, programs have evolved as their application domains increase continually and have become very complex due to extensive modifications. This generality in programs is implemented by input variables whose value does not vary in the context of a given application. Thus, it is very interesting for the maintainer to propagate such information, that is to obtain a simplified program, which behaves like the initial one when used according to the restriction. We have adapted partial evaluation for program comprehension. Our partial evaluator performs mainly two tasks: constant propagation and statements simplification. It includes an interprocedural alias analysis. As our aim is program comprehension rather than optimization, there are two main differences with classical partial evaluation. We do not change the original
Document type :
Conference papers
Complete list of metadatas

Cited literature [5 references]  Display  Hide  Download

https://hal.inria.fr/inria-00106403
Contributor : Sandrine Blazy <>
Submitted on : Sunday, October 15, 2006 - 4:49:33 PM
Last modification on : Saturday, February 9, 2019 - 1:23:05 AM
Long-term archiving on: : Tuesday, April 6, 2010 - 7:40:10 PM

Files

Identifiers

Collections

Citation

Sandrine Blazy, Philippe Facon. Partial Evaluation for Program Comprehension. ACM Computing Surveys, Symposium on partial evaluation, 1998, (revue électonique). ⟨inria-00106403⟩

Share

Metrics

Record views

98

Files downloads

150