arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.04765cs.PLcs.LOcs.SE
收藏

Prolog调试器和声明式编程

The Prolog debugger and declarative programming

Włodzimierz Drabent

摘要:

逻辑编程是一种声明式编程范式。程序设计语言Prolog使逻辑编程成为可能,至少在很大程度上是这样。然而,Prolog调试器只在操作语义方面工作。因此它与声明式编程不兼容。本报告讨论了这个问题,并试图从声明的角度找到如何使用调试器。结果并不令人鼓舞。此外,Byrd的盒子模型,调试器使用,解释在SLD分辨率。

英文摘要:

Logic programming is a declarative programming paradigm. Programming language Prolog makes logic programming possible, at least to a substantial extent. However the Prolog debugger works solely in terms of the operational semantics. So it is incompatible with declarative programming. This report discusses this issue and tries to find how the debugger may be used from the declarative point of view. The results are rather not encouraging. Also, the box model of Byrd, used by the debugger, is explained in terms of SLD-resolution.

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

↑