arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1012.5123cs.PL
收藏

XSB:用表格逻辑程序设计扩展Prolog

XSB: Extending Prolog with Tabled Logic Programming

Terrance Swift, David S. Warren

摘要:

表逻辑编程(TLP)的范例现在由许多Prolog系统支持,包括XSB,YAP Prolog,B-Prolog,Mercury,ALS和Ciao。这样做的原因部分是理论上的:制表确保终止和最佳已知的复杂性查询的一大类程序。然而,压倒一切的原因是实际的。TLP允许简洁高效地编写复杂的程序,特别是当支持表否定和调用和应答包含等机制时。因此,TLP现在已经被用于从程序分析到语义Web查询的各种应用中。本文提供了一个调查的TLP及其应用程序实现XSB Prolog,以及讨论如何XSB支持制表与动态变化的代码,并在多线程环境。

英文摘要:

The paradigm of Tabled Logic Programming (TLP) is now supported by a number of Prolog systems, including XSB, YAP Prolog, B-Prolog, Mercury, ALS, and Ciao. The reasons for this are partly theoretical: tabling ensures termination and optimal known complexity for queries to a large class of programs. However the overriding reasons are practical. TLP allows sophisticated programs to be written concisely and efficiently, especially when mechanisms such as tabled negation and call and answer subsumption are supported. As a result TLP has now been used in a variety of applications from program analysis to querying over the semantic web. This paper provides a survey of TLP and its applications as implemented in XSB Prolog, along with discussion of how XSB supports tabling with dynamically changing code, and in a multi-threaded environment.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑