跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:cs/9809016 (cs)
[提交于 1998年9月10日]

标题:Scoping Constructs in Logic Programming: Implementation Problems and their Solution

作者:Gopalan Nadathur, Bharat Jayaraman, Keehang Kwon
查看论文《Scoping Constructs in Logic Programming: Implementation Problems and their Solution》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The inclusion of universal quantification and a form of implication in goals in logic programming is considered. These additions provide a logical basis for scoping but they also raise new implementation problems. When universal and existential quantifiers are permitted to appear in mixed order in goals, the devices of logic variables and unification that are employed in solving existential goals must be modified to ensure that constraints arising out of the order of quantification are respected. Suitable modifications that are based on attaching numerical tags to constants and variables and on using these tags in unification are described. The resulting devices are amenable to an efficient implementation and can, in fact, be assimilated easily into the usual machinery of the Warren Abstract Machine (WAM). The provision of implications in goals results in the possibility of program clauses being added to the program for the purpose of solving specific subgoals. A naive scheme based on asserting and retracting program clauses does not suffice for implementing such additions for two reasons. First, it is necessary to also support the resurrection of an earlier existing program in the face of backtracking. Second, the possibility for implication goals to be surrounded by quantifiers requires a consideration of the parameterization of program clauses by bindings for their free variables. Devices for supporting these additional requirements are described as also is the integration of these devices into the WAM. Further extensions to the machine are outlined for handling higher-order additions to the language. The ideas presented here are relevant to the implementation of the higher-order logic programming language lambda Prolog.
评论: 46 pages
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:cs/9809016 [cs.PL]
  (或者 arXiv:cs/9809016v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.cs/9809016
期刊参考: Journal of Logic Programming, 25(2)-119:161, 1995

提交历史

来自:Gopalan Nadathur
[v1] 1998年9月10日 星期四 16:54:05 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs
< 上一篇   |   下一篇 >
最新 | 近期 | 1998-09
切换浏览方式为:
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站