首页> 外文期刊>OASIcs : OpenAccess Series in Informatics >Illustrating the Mezzo programming language
【24h】

Illustrating the Mezzo programming language

机译:说明Mezzo编程语言

获取原文
       

摘要

When programmers want to prove strong program invariants, they are usually faced with a choice between using theorem provers and using traditional programming languages. The former requires them to provide program proofs, which, for many applications, is considered a heavy burden. The latter provides less guarantees and the programmer usually has to write run-time assertions to compensate for the lack of suitable invariants expressible in the type system. We introduce Mezzo, a programming language in the tradition of ML, in which the usual concept of a type is replaced by a more precise notion of a permission. Programs written in Mezzo usually enjoy stronger guarantees than programs written in pure ML. However, because Mezzo is based on a type system, the reasoning requires no user input. In this paper, we illustrate the key concepts of Mezzo, highlighting the static guarantees our language provides.
机译:当程序员想要证明强大的程序不变性时,他们通常会在使用定理证明和使用传统编程语言之间做出选择。前者要求他们提供程序证明,在许多应用中,这被认为是沉重的负担。后者提供的保证较少,程序员通常必须编写运行时断言以补偿类型系统中可表达的适当不变量的不足。我们介绍了Mezzo,这是ML的一种编程语言,其中类型的通常概念被更精确的权限概念所代替。与纯ML编写的程序相比,用Mezzo编写的程序通常享有更强大的保证。但是,由于Mezzo基于类型系统,因此推理不需要用户输入。在本文中,我们说明了Mezzo的关键概念,强调了我们的语言提供的静态保证。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号