# triska/the-power-of-prolog

The Power of Prolog: Introduction to modern Prolog

Repository: https://github.com/triska/the-power-of-prolog
Canonical: https://ross.abutalabs.com/products/the-power-of-prolog
Homepage: https://www.metalevel.at/prolog
Language: HTML
License Family: other
Topics: prolog, book, logic-programming, teaching-materials, constraints
Last push: 2026-08-23T09:17:05+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 3331, "days_push": 10, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1401, forks 90 (observed 2026-08-28T04:04:37.311537+00:00)

## What it is
The Power of Prolog is an online book introducing modern Prolog and logic programming, written by Markus Triska. The repository is self-hosting: it includes a Prolog HTTP server (requiring Scryer Prolog) that serves the book content locally.

## Use cases
- learn modern Prolog from scratch
- understand logic programming and unification
- study constraint logic programming and CLP(FD)
- read a Prolog book offline locally
- learn declarative programming techniques
- find teaching materials for a Prolog course
- learn about meta-interpreters and DCGs

## When to choose
- you want a free, in-depth, up-to-date introduction to modern Prolog
- you need teaching materials covering constraints, purity, and termination
- you prefer browsing the book locally via its self-hosting server

## When to avoid
- you need a Prolog interpreter or compiler itself rather than a book
- you want a general programming tutorial unrelated to logic programming
- you need a formally licensed artifact (the repo has no explicit license)

## Facets
- artifact type: learning-resource
- maturity: active
- function: documentation, interpreter, http-server
- domain: programming-languages, education, tutorials
- platform: cli, cross-platform
- tags: prolog, logic-programming, book, constraints, teaching-materials, self-hosting, web-server

## Member repositories
- triska/the-power-of-prolog (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:37.311537+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:39:04.509107+00:00, confidence not recorded.
  - readme: https://github.com/triska/the-power-of-prolog (fetched 2026-08-28T04:04:37.311537+00:00, sha 5a753dc8d31d)
  - homepage: https://www.metalevel.at/prolog (fetched 2026-08-29T11:53:11.305720+00:00, sha a05f682ee597)
- Data as of 2026-08-30T08:39:29.467469+00:00.
