Dependency analysis for standard ML

Authors
Citation
M. Blume, Dependency analysis for standard ML, ACM T PROGR, 21(4), 1999, pp. 790-812
Citations number
25
Categorie Soggetti
Computer Science & Engineering
Journal title
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS
ISSN journal
01640925 → ACNP
Volume
21
Issue
4
Year of publication
1999
Pages
790 - 812
Database
ISI
SICI code
0164-0925(199907)21:4<790:DAFSM>2.0.ZU;2-0
Abstract
Automatic dependency analysis is a useful addition to a system like CM, our compilation manager for Standard ML of New Jersey. It relieves the program mer From the tedious and error-prone task of having to specify compilation dependencies hy hand and thereby makes its usage more user friendly. But de pendency analysis is not easy, as the general problem for Standard ML is NP -complete. Therefore, CM has to impose certain restrictions oil the program ming language to recover tractability. We prove the NP-completeness result, discuss the restrictions on ML that are used by CMI and provide the result ing analysis algorithms.