Polyvariant Flow Analysis with Higher-ranked Polymorphic Types and Higher-order Effect Operators

被引:1
作者
Holdermans, Stefan [1 ]
Hage, Jurriaan [2 ]
机构
[1] Vector Fabr, NL-5611 KN Eindhoven, Netherlands
[2] Univ Utrecht, Dept Inf & Comp Sci, NL-3508 TB Utrecht, Netherlands
关键词
Languages; Theory; type-based program analysis; higher-ranked polymorphism; CALCULUS;
D O I
10.1145/1932681.1863554
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present a type and effect system for flow analysis that makes essential use of higher-ranked polymorphism. We show that, for higher-order functions, the expressiveness of higher-ranked types enables us to improve on the precision of conventional letpolymorphic analyses. Modularity and decidability of the analysis are guaranteed by making the analysis of each program parametric in the analyses of its inputs; in particular, we have that higher-order functions give rise to higher-order operations on effects. As flow typing is archetypical to a whole class of type and effect systems, our approach can be used to boost the precision of a wide range of type-based program analyses for higher-order languages.
引用
收藏
页码:63 / 74
页数:12
相关论文
共 25 条
[1]  
[Anonymous], P 21 ACM SIGPLAN SIG
[2]  
[Anonymous], 1996, POPL
[3]  
Banerjee A., 2003, Mathematical Structures in Computer Science, V13, P87, DOI 10.1017/S0960129502003845
[4]  
Damas Luis, 1982, Proceedings of the 9th ACM SIGPLAN-SIGACT symposium on the Principles of Programming Languages, DOI [10.1145/582153.582176, DOI 10.1145/582153.582176]
[5]   Type-based flow analysis and context-free language reachability [J].
Faehndrich, Manuel ;
Rehof, Jakob .
MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2008, 18 (05) :823-894
[6]  
FAXEN KF, 1997, LECT NOTES COMPUTER, V1192, P260
[7]  
Gustavsson J, 2001, LECT NOTES COMPUT SC, V2053, P63
[8]  
HEINTZE N, 1994, ACM C LISP FUNCT PRO, P306
[9]  
HENGLEIN F, 1994, LECT NOTES COMPUTER, V788, P287
[10]  
Holdermans Stefan, 2010, P 10 WORKSH IN PRESS