首页> 外文期刊>Journal of Logic and Algebraic Programming >Eager and delayed contract monitoring for call-by-value and call-by-name evaluation
【24h】

Eager and delayed contract monitoring for call-by-value and call-by-name evaluation

机译:急切和延迟的合同监控,以按价值进行呼叫和按名称进行呼叫评估

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

摘要

Contracts are a proven tool in software development. They provide specifications for operations that may be statically verified or dynamically validated by contract monitoring. We investigate the properties of contract monitoring for languages with contracts and effects using a monadic semantics. We study three combinations of evaluation orders and contract monitoring styles: call-by-value and call-by-name with eager monitoring and call-by-name with delayed monitoring. In each case, an effect system ensures that contract monitoring does not change the meaning of a program and guarantees that contract monitoring is idempotent. The monadic semantics enables us to study design choices, to formalize implementations, to pinpoint the differences between contracts in the three combinations, and to verify algebraic laws.
机译:合同是软件开发中公认的工具。它们提供了可通过合同监视进行静态验证或动态验证的操作规范。我们调查使用单子语义的具有合同和效果的语言的合同监视的属性。我们研究了评估订单和合同监视样式的三种组合:按值调用和按名称调用(具有紧急监视)和按名称调用(具有延迟监视)。在每种情况下,效果系统都确保合同监控不会改变程序的含义,并保证合同监控是幂等的。一元语义使我们能够研究设计选择,形式化实现,查明三种组合中的合同之间的差异以及验证代数定律。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号