Prolog
A logic programming language based on formal logic and automated reasoning.
Fifty Years of Prolog and Beyond ↗
A comprehensive discussion of the most significant Prolog systems.
PublicationIndexing dif/2 ↗
Publication by Ulrich Neumerkel, Stefan Kral on tackling impurity of Prolog programs
PublicationProjects
s(CASP)
This SWI-Prolog port of s(CASP) provides goal-directed execution of answer-set programs with constraints. It supports exploring logical models and explanations through Prolog-based tooling. The repository documents its implementations and…
Explore project →SWISH
SWISH is a web-based environment for writing, running and sharing SWI-Prolog programs. Its Prolog backend works with a browser interface, and the project provides hosted and self-hosted options. Start with an example program and a query…
Explore project →TerminusDB
TerminusDB is a graph database whose core includes Prolog. It stores structured documents and supports revision history, branching and merging for data. Start with its document API and a small linked dataset, then explore queries and how…
Explore project →Community
Association for Logic Programming ↗
The Association for Logic Programming (ALP) promotes research, development, and applications of logic programming through conferences, publications, and community initiatives.
AssociationProlog Community Discourse ↗
The Prolog Discourse forum is an online community where Prolog enthusiasts, researchers, and developers discuss logic programming, share resources, and seek help with Prolog-related topics.
ForumSWI-Prolog Discourse Forum ↗
A community-driven forum for discussing SWI-Prolog-related topics, where users can ask questions, share knowledge, and engage in conversations about development, best practices, and new features. A valuable resource for both beginners and…
ForumCurrent & upcoming events
All language events →No current or upcoming events listed. Explore past events or suggest one.
Jobs
Follow Prolog jobs with Atom → Get updates in your feed reader.
No jobs listed right now.
There are still resources and organizations to explore. Browse all jobs.
Organizations
All Prolog organizations →Centre de Recherche en Informatique de Lens (CRIL)
Lens, France
GHX
Louisville, CO, USA
IMDEA Software Institute
Madrid, Spain
Curated reading
All curated reading →The Simplicity of Prolog
Hacker News · Published January 26, 2025
A January 2025 Hacker News discussion on The Simplicity of Prolog generated over 120 comments debating the language's limitations and modern viability. Long-time practitioners criticized Prolog's abstraction features, first-class…
Ask HN: What's Prolog like in 2024?
Hacker News · Published July 18, 2024
A July 2024 Hacker News thread asking "What's Prolog like in 2024?" generated over 250 comments debating its modern relevance. Practitioners highlighted Scryer Prolog's strict ISO conformance and 24x memory efficiency for string…
The Power of Prolog
Hacker News · Published September 11, 2023
A September 2023 Hacker News discussion on The Power of Prolog garnered over 100 comments, with practitioners describing the language as a "mind bending" paradigm shift for constraint solving and symbolic AI. Multiple users cited…
About Prolog and its ecosystem
Prolog is a declarative programming language centered around logic programming and formal reasoning. Developed in the early 1970s, Prolog is widely known for its use in artificial intelligence, knowledge representation, and expert systems, where problems are solved through logical inference rather than step-by-step computation.
Prolog’s syntax is based on facts, rules, and queries, where developers define relationships and rules that describe how data is structured and how conclusions can be drawn. Its powerful backtracking mechanism automatically explores possible solutions, making it particularly well-suited for tasks like natural language processing, theorem proving, and pattern matching.
While not as widely used in mainstream software development, Prolog remains a valuable tool in academic, research, and specialized industries, particularly in domains that involve symbolic reasoning and complex problem-solving. Its unique approach to programming encourages a shift in mindset, allowing developers to focus on what they want to solve rather than how to solve it.
Suggest a project or resource
Share a useful Prolog project or resource.