首页    期刊浏览 2024年11月14日 星期四
登录注册

文章基本信息

  • 标题:Illustrating the Mezzo programming language
  • 作者:Jonathan Protzenko
  • 期刊名称:OASIcs : OpenAccess Series in Informatics
  • 电子版ISSN:2190-6807
  • 出版年度:2013
  • 卷号:31
  • 页码:68-73
  • DOI:10.4230/OASIcs.FSFMA.2013.68
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要: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.
  • 关键词:Type system; Language design; ML; Permissions
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有