首页> 外文会议>Australasian Computer Science Conference >Refining logic programs using types
【24h】

Refining logic programs using types

机译:使用类型的炼油逻辑程序

获取原文

摘要

The logic programming refinement calculus is a method for transforming specifications to executable code, maintaining the correctness of the code with respect to its specification. In this paper we show how types can be handled in the logic programming refinement calculus. Types of variables are necessary for a complete specification of a procedure, and typing information can guide the refinement of a procedure specification to code. As an application of this framework, we show how dynamic type-checks can be form ally eliminated from a sample program.
机译:逻辑编程细化微积分是一种将规范转换为可执行代码的方法,维护代码对其规范的正确性。在本文中,我们展示了如何在逻辑编程细化微积分中处理类型。程序的完整规范是必需的变量,并且键入信息可以指导将过程规范的改进指导到代码。作为本框架的应用,我们展示了如何从示例程序中删除动态类型检查。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利