...
首页> 外文期刊>情報処理学会論文誌 >Amalgamation of Functional and Logic Programming Languages Based on Similarities in Execution Mechanisms
【24h】

Amalgamation of Functional and Logic Programming Languages Based on Similarities in Execution Mechanisms

机译:基于执行机制相似性的功能和逻辑编程语言的融合

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

摘要

This paper describes a Lisp-based multi-paradigm programming language TAO that incorporates a logic programming (LP) paredigm. Whereas previous multi-paradigm languages only supported purely functional and LP facilities, TAO supports all Lisp primitives as well as LP facilities. This amalgamation of Lisp and LP is done by making use of the similarities in their execution mechanisms, giving a natural semantics to the amalgamation. The similarities include state vs. logic variables, function vs. predicate calling, and non-local exit vs. back- tracking. For example, the similarity between non-local exit (catch/throw) and backtracking enables backtracking to be regarded as a kind of non-local exit, so that backtracking can use all Lisp facilities which support non-local exit.
机译:本文介绍了一种基于Lisp的多范式编程语言TAO,其中包含了逻辑编程(LP)paredigm。以前的多范式语言仅支持纯功能和LP功能,而TAO支持所有Lisp原语以及LP功能。 Lisp和LP的这种合并是通过利用它们执行机制中的相似性完成的,为合并提供了自然的语义。相似之处包括状态与逻辑变量,函数与谓词调用以及非本地出口与回溯。例如,非本地出口(捕获/抛出)与回溯之间的相似性使回溯被视为一种非本地出口,因此回溯可以使用支持非本地出口的所有Lisp设施。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号