首页> 外文期刊>Theory and Practice of Logic Programming >Composing programs in a rewriting logic for declarative programming
【24h】

Composing programs in a rewriting logic for declarative programming

机译:用重写逻辑编写程序以进行声明式编程

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

摘要

Constructor-Based Conditional Rewriting Logic is a general framework for integrating first-order functional and logic programming which gives an algebraic semantics for non-deterministic functional-logic programs. In the context of this formalism, we introduce a simple notion of program module as an open program which can be extended together with several mechanisms to combine them. These mechanisms are based on a reduced set of operations. However, the high expressiveness of these operations enable us to model typical constructs for program modularization like hiding, export/import, genericity/instantiation, and inheritance in a simple way. We also deal with the semantic aspects of the proposal by introducing an immediate consequence operator, and studying several alternative semantics for a program module, based on this operator, in the line of logic programming: the operator itself, its least fixpoint (the least model of the module), the set of its pre-fixpoints (term models of the module), and some other variations in order to find a compositional and fully abstract semantics w.r.t. the set of operations and a natural notion of observability.
机译:基于构造函数的条件重写逻辑是用于集成一阶功能和逻辑编程的通用框架,该框架为非确定性功能逻辑程序提供了代数语义。在这种形式主义的背景下,我们引入了一个简单的程序模块概念,即开放程序,可以将其扩展为几种结合在一起的机制。这些机制基于减少的一组操作。但是,这些操作的高表达能力使我们能够以简单的方式为程序模块化(例如隐藏,导出/导入,通用/实例化和继承)建模典型构造。我们还通过引入即时结果运算符并基于逻辑运算符研究基于该运算符的程序模块的几种替代语义来处理提案的语义方面:运算符本身,最小固定点(最小模型)模块的固定点集(模块的术语模型)以及其他一些变体,以便找到组成和完全抽象的语义操作集和可观察性的自然概念。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号