Skip to content

Knowledge Base and Sources

ao3575911 edited this page Oct 30, 2026 · 1 revision

Knowledge Base and Sources

Sources

Source Licence What we take
PLDB (pldb.json) Public domain Languages, years, creators, websites, feature flags, influence edges
GitHub Linguist (languages.yml) MIT Names, aliases, file extensions, kinds
Rosetta Code GFDL 1.2 / CC BY-SA (share-alike) Snippets, kept in data-packs/rosetta/ or your data dir, never in the MIT wheel
Official docs (4 languages so far) Per site; short excerpts when UNKNOWN Verbatim quotes, see Official Docs Q&A

Wikipedia-derived PLDB fields (CC BY-SA) are never ingested. CI enforces that share-alike data stays out of the wheel.

Building

langsuite base build            # ~11 MB download, atomic: a failure leaves the current base untouched
langsuite base build --offline  # rebuild from cache
langsuite base status
langsuite base snapshots        # base-4fe788452522 2026-10-30T02:57:38Z current pinned

Each build is a new snapshot. The newest five are kept, plus any pinned or cited by a finding.

Citations and evidence

Every fact is an assertion with an evidence id (ev-…), its source, URL and retrieval time:

langsuite lang show haskell --evidence
$ langsuite -m concise lang show haskell
│ Year first appeared 1990 [pldb]        │
│ Website https://www.haskell.org [pldb] │
Features [pldb]
  Control flow: Conditionals
  Memory: Garbage collection

Unknown is never treated as "no": query "monads=unknown" finds languages no source speaks about.

Inclusion rule

A language is included when it passes these checks:

Check Meaning
in_pldb Present in PLDB
in_linguist Present in Linguist
has_facts Has sourced feature facts
official_docs Official docs registered
docs_healthy Those docs links work
$ langsuite inclusion rust
Rust included · ✓ in_pldb, in_linguist, has_facts, official_docs, docs_healthy

langsuite inclusion check [LANG] re-checks docs links: failures are flagged, then archived after 14 days (still readable). langsuite inclusion list --status ok|failing|archived lists docs pages by state. To request a language, use the New language request issue form.

Clone this wiki locally