【24h】

Modelling Prolog control

机译:建模Prolog控制

获取原文

摘要

The goal of this paper is to construct a semantic basis for the abstract interpretaion of Prolog programs. Prolog is a well-known logic programming language which applies a depth-first search strategy in order to provide a practical approximation of Horn clause logic. While pure logic programming has clean fix-point, model-theoretic and operational semantics the situation for Prolog is different. Difficulties in capturing the declarative meaning of Prolog programs have led to various semantic definitions which attempt to encode the search strategy in different mathematical frameworks. However semantic based analyses of Prolog are typically achieved by abstracting the more simple but less precise declarative semantics of pure logic Programs.

We propose instead to model Prolog control in a simple constraint logic language which is presented together with its declarative and operational semantics. This enables us to maintain the usual approach to declarative semantics of logic programs whilecapturing control aspects such as search strategy and selection rule.

机译:

本文的目的是为Prolog程序的抽象解释构建语义基础。 Prolog是一种众所周知的逻辑编程语言,它应用深度优先的搜索策略以提供对Horn子句逻辑的实际近似。虽然纯逻辑编程具有清晰的定点,模型理论和操作语义,但Prolog的情况却有所不同。难以捕捉Prolog程序的声明性含义导致了各种语义定义,这些语义定义试图在不同的数学框架中对搜索策略进行编码。然而,基于Prolog的基于语义的分析通常是通过抽象纯逻辑程序的更简单但不太精确的声明性语义来实现的。

我们建议改为使用简单的约束逻辑语言对Prolog控制进行建模,并将其与声明性和操作性语义一起呈现。这使我们能够在捕获诸如搜索策略和选择规则之类的控制方面的同时,保持通常的逻辑程序声明语义方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号