首页> 外文期刊>Computer languages >OBJECT LOGIC INTEGRATION: A MULTIPARADIGM DESIGN METHODOLOGY AND A PROGRAMMING LANGUAGE
【24h】

OBJECT LOGIC INTEGRATION: A MULTIPARADIGM DESIGN METHODOLOGY AND A PROGRAMMING LANGUAGE

机译:对象逻辑集成:一种多参数设计方法和一种编程语言

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

摘要

In the past decade, there has been much research effort dedicated to combine the object-oriented programming paradigm and the logic programming paradigm. Most of this effort sheds light upon the philosophy of multiparadigm programming as a near ideal mental model for a wide class of problem domains. In this paper we propose a scheme for object and logic integration—the OLI scheme. This scheme contributes to the multiparadigm programming philosophy by putting forward a multiparadigm design methodology and describing a multiparadigm programming language. Above all, the OLI scheme integrates the object-oriented and the logic programming paradigms at the design and language levels with a precise and well-balanced interface so that each paradigm shares an equal and cooperating partnership in problem analysis and problem solving. An important property of the OLI language is that programmers can program either in one of the paradigms alone or in a mixed paradigm without sacrificing expressiveness and efficiency. We give a formal definition of the OLI language and study its semantics both from the logical perspective and the object-oriented perspective. By viewing objects as an enrichment of the Herbrand universe, we define the declarative and operational semantics of OLI. We show that OLI's operational semantics, a generalized form of SLD-resolution, is sound and complete. From the object-oriented point of view, the logic part of OLI is simply an object with logic programs as states and methods for performing logical deduction.
机译:在过去的十年中,已经有大量的研究工作致力于将面向对象的编程范例和逻辑编程范例结合起来。这些努力的大部分内容揭示了多范式编程的哲学,它是针对广泛问题领域的近乎理想的心理模型。在本文中,我们提出了一种用于对象和逻辑集成的方案-OLI方案。该方案通过提出一种多范式设计方法并描述一种多范式编程语言,为多范式编程哲学做出了贡献。最重要的是,OLI方案将设计和语言级别的面向对象和逻辑编程范例与一个精确且平衡良好的界面集成在一起,以使每个范例在问题分析和解决问题上共享平等且合作的伙伴关系。 OLI语言的一个重要特性是,程序员可以在其中一个范式中进行编程,也可以在混合范式中进行编程,而不会牺牲表达性和效率。我们给出OLI语言的正式定义,并从逻辑角度和面向对象角度研究其语义。通过将对象视为Herbrand宇宙的丰富内容,我们定义了OLI的声明性和操作性语义。我们表明OLI的操作语义是SLD解析的一种广义形式,是健全而完整的。从面向对象的角度来看,OLI的逻辑部分只是一个对象,具有逻辑程序作为状态和执行逻辑推论的方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号