Dependent types for program understanding

被引:0
|
作者
Komondoor, R
Ramalingam, G
Chandra, S
Field, J
机构
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Weakly-typed languages such as Cobol often force programmers to represent distinct data abstractions using the same low-level physical type. In this paper, we describe a technique to recover implicitly-defined data abstractions from programs using type inference. We present a novel system of dependent types which we call guarded types, a path-sensitive algorithm for inferring guarded types for Cobol programs, and a semantic characterization of correct guarded typings. The results of our inference technique can be used to enhance program understanding for legacy applications, and to enable a number of type-based program transformations.
引用
收藏
页码:157 / 173
页数:17
相关论文
共 50 条
  • [1] Understanding ownership types with dependent types
    Cameron, Nicholas
    Drossopoulou, Sophia
    Noble, James
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2013, 7850 : 84 - 108
  • [2] Dependent Types and Program Equivalence
    Jia, Limin
    Zhao, Jianzhou
    Sjoberg, Vilhelm
    Weirich, Stephanie
    ACM SIGPLAN NOTICES, 2010, 45 (01) : 275 - 286
  • [3] Dependent Types and Program Equivalence
    Jia, Limin
    Zhao, Jianzhou
    Sjoeberg, Vilhelm
    Weirich, Stephanie
    POPL'10: PROCEEDINGS OF THE 37TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2010, : 275 - 286
  • [4] Facilitating program verification with dependent types
    Xi, HW
    FIRST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND FORMAL METHODS, PROCEEDINGS, 2003, : 72 - 81
  • [5] Dependent types for program termination verification
    Xi, HW
    16TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2001, : 231 - 242
  • [6] Algebra of programming in Agda: Dependent types for relational program derivation
    Mu, Shin-Cheng
    Ko, Hsiang-Shang
    Jansson, Patrik
    JOURNAL OF FUNCTIONAL PROGRAMMING, 2009, 19 : 545 - 579
  • [7] Understanding program understanding
    Balmas, F
    Wertz, H
    Singer, J
    8TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION (IWPC 2000), PROCEEDINGS, 2000, : 256 - 256
  • [8] Understanding blood types
    Yarnell, A
    CHEMICAL & ENGINEERING NEWS, 2003, 81 (10) : 42 - 43
  • [9] UNDERSTANDING PROGRAM
    不详
    NATURE, 1972, 238 (5358) : 12 - &
  • [10] Understanding architectural types
    Borgo, Stefano
    Melone, Maria Rosaria Stufano
    COGNITIVE PROCESSING, 2015, 16 : S83 - S83