首页    期刊浏览 2025年06月18日 星期三
登录注册

文章基本信息

  • 标题:KafKa: Gradual Typing for Objects
  • 作者:Benjamin Chung ; Paley Li ; Francesco Zappa Nardelli
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2018
  • 卷号:109
  • 页码:12:1-12:24
  • DOI:10.4230/LIPIcs.ECOOP.2018.12
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:A wide range of gradual type systems have been proposed, providing many languages with the ability to mix typed and untyped code. However, hiding under language details, these gradual type systems embody fundamentally different ideas of what it means to be well-typed. In this paper, we show that four of the most common gradual type systems provide distinct guarantees, and we give a formal framework for comparing gradual type systems for object-oriented languages. First, we show that the different gradual type systems are practically distinguishable via a three-part litmus test. We present a formal framework for defining and comparing gradual type systems. Within this framework, different gradual type systems become translations between a common source and target language, allowing for direct comparison of semantics and guarantees.
  • 关键词:Gradual typing; object-orientation; language design; type systems
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有