Wolfram Library Archive

Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings

Power Programming: Dependency Analysis

David B. Wagner
Journal / Anthology

The Mathematica Journal
Year: 1996
Volume: 6
Issue: 1
Page range: 54-65

In a very large program, it can be difficult to anticipate the consequences of changing a small part of the code on the rest of the program. Many conventional languages have tools, such as call-graph analyzers and class browsers, that help the programmer understand the large-scale structure of a program. In this article, we will develop a package for analyzing symbol dependencies in a Mathematica program. This turns out to be quite an involved undertaking, as it requires the detailed analysis of expressions that must not be allowed to evaluate.

*Mathematica Technology > Programming > Packages and Contexts


Translate this page: