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 条
  • [21] Parametricity and Dependent Types
    Bernardy, Jean-Philippe
    Jansson, Patrik
    Paterson, Ross
    ICFP 2010: PROCEEDINGS OF THE 2010 ACM SIGPLAN INTERNATIONAL CONFERENCE ON FUNCTIONAL PROGRAMMING, 2010, : 345 - 356
  • [22] Games for Dependent Types
    Abramsky, Samson
    Jagadeesan, Radha
    Vakar, Matthijs
    AUTOMATA, LANGUAGES, AND PROGRAMMING, PT II, 2015, 9135 : 31 - 43
  • [23] Dependent Types at Work
    Bove, Ana
    Dybjer, Peter
    LANGUAGE ENGINEERING AND RIGOROUS SOFTWARE DEVELOPMENT, 2009, 5520 : 57 - 99
  • [24] Parametricity and Dependent Types
    Bernardy, Jean-Philippe
    Jansson, Patrik
    Paterson, Ross
    ACM SIGPLAN NOTICES, 2010, 45 (09) : 345 - 356
  • [25] Dependent types for JavaScript
    Chugh, Ravi
    Herman, David
    Jhala, Ranjit
    ACM SIGPLAN Notices, 2012, 47 (10): : 587 - 606
  • [26] Dependent Event Types
    Luo, Zhaohui
    Soloviev, Sergei
    LOGICAL ASPECTS OF COMPUTATIONAL LINGUISTICS: CELEBRATING 20 YEARS OF LACL (1996-2016), 2016, 10054 : 333 - 334
  • [27] Dependent Event Types
    Luo, Zhaohui
    Soloviev, Sergei
    LOGIC, LANGUAGE, INFORMATION, AND COMPUTATION: 24TH INTERNATIONAL WORKSHOP, WOLLIC 2017, LONDON, UK, JULY 18-21, 2017, PROCEEDINGS, 2017, 10388 : 216 - 228
  • [28] Subtyping dependent types
    Aspinall, D
    Compagnoni, A
    11TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 1996, : 86 - 97
  • [29] Defunctionalization with Dependent Types
    Huang, Yulong
    Yallop, Jeremy
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (PLDI):
  • [30] Subtyping dependent types
    Aspinall, D
    Compagnoni, A
    THEORETICAL COMPUTER SCIENCE, 2001, 266 (1-2) : 273 - 309