Type-based analysis of uncaught exceptions

Citation
X. Leroy et F. Pessaux, Type-based analysis of uncaught exceptions, ACM T PROGR, 22(2), 2000, pp. 340-377
Citations number
46
Categorie Soggetti
Computer Science & Engineering
Journal title
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS
ISSN journal
01640925 → ACNP
Volume
22
Issue
2
Year of publication
2000
Pages
340 - 377
Database
ISI
SICI code
0164-0925(200003)22:2<340:TAOUE>2.0.ZU;2-D
Abstract
This article presents a program analysis to estimate uncaught exceptions in ML programs. This analysis relies on unification-based type inference in a ,nonstandard type system, using rows to approximate both the flow of escapi ng exceptions (a la effect systems) and the flow of result values (a la con trol-flow analyses). The resulting analysis is efficient and precise; in pa rticular, arguments carried by exceptions are accurately handled.