【24h】

DYNAMIC TYPING WITH DEPENDENT TYPES

机译:依赖类型的动态打字

获取原文
获取原文并翻译 | 示例

摘要

Dependent type systems are promising tools programmers can use to increase the reliability and security of their programs. Unfortunately, dependently-typed programming languages require programmers to annotate their programs with many typing specifications to help guide the type checker. This paper shows how to make the process of programming with dependent types more palatable by defining a language in which programmers have fine-grained control over the trade-off between the number of dependent typing annotations they must place on programs and the degree of compile-time safety. More specifically, certain program fragments are marked dependent, in which case the programmer annotates them in detail and a dependent type checker verifies them at compile time. Other fragments are marked simple, in which case they may be annotation-free and dependent constraints are verified at run time.
机译:依赖类型系统是程序员可以用来提高程序可靠性和安全性的有前途的工具。不幸的是,依赖类型的编程语言要求程序员使用许多类型化的规范来注释其程序,以帮助指导类型检查器。本文展示了如何通过定义一种语言来使具有依赖类型的编程过程更加可口,在该语言中,程序员可以对必须放置在程序上的依赖类型注释的数量与编译程度之间的权衡取舍。时间安全。更具体地说,某些程序片段被标记为从属程序,在这种情况下,程序员对它们进行了详细注释,并且从属类型检查器在编译时对其进行了验证。其他片段标记为简单,在这种情况下,它们可能没有注释,并且在运行时验证了相关的约束。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号