Prolog Coding Guidelines: Status and Tool Support
Falco Nogatz (University of W\"urzburg, Germany), Philipp K\"orner, (University of D\"usseldorf, Germany), Sebastian Krings (Niederrhein, University of Applied Sciences, Germany)

TL;DR
This paper evaluates the current state of Prolog coding guidelines, discusses challenges in establishing and enforcing them, and introduces a tool to automatically verify guideline adherence in Prolog code.
Contribution
It provides an analysis of Prolog coding guidelines' status and presents a Prolog linter tool for automatic verification of coding standards.
Findings
Prolog community has varied and evolving coding guidelines.
The implemented linter can automatically detect guideline violations.
Application to packages reveals current adherence levels and challenges.
Abstract
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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Logic, programming, and type systems · Software Testing and Debugging Techniques
