A Generic Type System for Featherweight Java']Java

被引:0
|
作者
Schoepp, Ulrich [1 ]
Xu, Chuangjie [1 ]
机构
[1] Fortiss GmbH, Munich, Germany
关键词
program analysis; Featherweight [!text type='Java']Java[!/text; region types; trace effects; POINTER;
D O I
10.1145/3464971.3468419
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We introduce a generic type system for Featherweight Java (FJ) that is parametrized with a monad-like structure, and prove a uniform soundness theorem. Its instances include some region type systems studied by Martin Hofmann et al. as well as a new one that performs more precise analysis of trace-based properties. Their soundness is guaranteed by the uniform theorem. We only need to verify some natural conditions. Instead of refining the FJ type system as in the previous work, our region type system is separate from the FJ type system, making it simpler and also easier to move to larger fragments of Java. Moreover, the uniform framework helps to avoid redundant work on the meta-theory when extending the system to cover other language features such as exception handling.
引用
收藏
页码:9 / 15
页数:7
相关论文
共 50 条
  • [1] Type-preserving compilation of featherweight Java']Java
    League, C
    Shao, Z
    Trifonov, V
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2002, 24 (02): : 112 - 152
  • [2] Featherweight Wrap Java']Java
    Bettini, Lorenzo
    Capecchi, Sara
    Giachino, Elena
    [J]. APPLIED COMPUTING 2007, VOL 1 AND 2, 2007, : 1094 - +
  • [3] JAVA']JAVA & LAMBDA: A FEATHERWEIGHT STORY
    Bettini, Lorenzo
    Bono, Viviana
    Dezani-Ciancaglini, Mariangiola
    Giannini, Paola
    Venneri, Betti
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2018, 14 (03)
  • [4] Lightweight confinement for Featherweight Java']Java
    Zhao, T
    Palsberg, J
    Vitek, J
    [J]. ACM SIGPLAN NOTICES, 2003, 38 (11) : 135 - 148
  • [5] SFJ: An Implementation of Semantic Featherweight Java']Java
    Usov, Artem
    Dardha, Ornela
    [J]. COORDINATION MODELS AND LANGUAGES, COORDINATION 2020, 2020, 12134 : 153 - 168
  • [6] Featherweight Java']Java - A minimal core calculus for Java']Java and GJ
    Igarashi, A
    Pierce, B
    Wadler, P
    [J]. ACM SIGPLAN NOTICES, 1999, 34 (10) : 132 - 146
  • [7] Featherweight Java']Java: A minimal core calculus for Java']Java and GJ
    Igarashi, A
    Pierce, BC
    Wadler, P
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2001, 23 (03): : 396 - 450
  • [8] Safe Commits for Transactional Featherweight Java']Java
    Thi Mai Thuong Tran
    Steffen, Martin
    [J]. INTEGRATED FORMAL METHODS, 2010, 6396 : 290 - 304
  • [9] Featherweight Java']Java with dynamic and static overloading
    Bettini, Lorenzo
    Capecchi, Sara
    Venneri, Betti
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2009, 74 (5-6) : 261 - 278
  • [10] Semantic Types and Approximation for Featherweight Java']Java
    Rowe, Reuben N. S.
    van Bakel, S. J.
    [J]. THEORETICAL COMPUTER SCIENCE, 2014, 517 : 34 - 74