arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1909.08230cs.PLcs.LOcs.SE
收藏

Prolog编码指南:状态和工具支持

Prolog Coding Guidelines: Status and Tool Support

Falco Nogatz, Philipp Körner, Sebastian Krings

摘要:

编码准则的重要性在每一种程序设计语言的开发人员中被普遍接受。当然,Prolog也不例外。然而,建立编码指南充满了障碍:在规则的种类和选择上找到共同点是一个争论的问题;一旦找到,遵守或执行规则也很复杂,尤其是因为Prolog没有关键字的灵活语法。在本文中,我们评估的编码准则在Prolog社区的地位,并讨论在何种程度上可以自动验证。我们为Prolog实现了一个linter,并将其应用于几个包,以掌握社区的当前状态。

英文摘要:

The importance of coding guidelines is generally accepted throughout developers of every programming language. Naturally, Prolog makes no exception. However, establishing coding guidelines is fraught with obstacles: Finding common ground on kind and selection of rules is matter of debate; once found, adhering to or enforcing rules is complicated as well, not least because of Prolog's flexible syntax without keywords. In this paper, we evaluate the status of coding guidelines in the Prolog community and discuss to what extent they can be automatically verified. We implemented a linter for Prolog and applied it to several packages to get a hold on the current state of the community.

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

↑