Data contract
Every language is a row: a fixed frontmatter fact profile (this page) plus optional curated prose. Facts are schema; prose is commentary. Schemas are enforced at build by the Zod collection schema; vocabularies by npm run lint:frontmatter against app/utils/taxonomy.ts — the same source rendering below.
Scalar fields
| Field | Type | Notes |
|---|---|---|
name | string | required; ASCII-only; unique across the corpus |
title | string | native SEO field; mirrors name; ASCII-only |
homepage | string | official site |
author | string | person or team |
logo | string | path under public/logos/ (media picker in Studio) |
family | string | lineage key; vocabulary-controlled; one per language |
generation | enum | abstraction tier; vocabulary-controlled; no collection (see note below) |
year | number | first appeared; written unquoted so it stores as integer |
Array fields
| Field | Type | Notes |
|---|---|---|
urls | string[] | external references |
paradigms | string[] | vocabulary-controlled |
type_system | string[] | vocabulary-controlled |
memory | string[] | vocabulary-controlled |
execution | string[] | vocabulary-controlled |
concurrency | string[] | vocabulary-controlled |
features | string[] | free-form long tail |
influences | string[] | language names; cross-linked |
influenced | string[] | language names; cross-linked |
note | string | short summary shown on the page |
Vocabularies
Add a value once in taxonomy.ts, re-run the lint; corpus entries that need spelling normalization are reported (or auto-fixed with --fix). The page body is optional prose — never a data carrier.
generation is a vocabulary whose values each have a page, like family — but for a different reason. The page is where the tier is defined, because 4gl and 5gl are contested terms that an enum cannot adjudicate. There is no promotion threshold: the ladder is a canonical five, so 1gl and 2gl keep their pages even with no members in the corpus.
kind (single value)
status (single value)
generation (single value)
typing (single value)
family (single value)
paradigms
type_system
memory
execution
concurrency
Paradigm entries
Paradigms are the sibling concept to languages: one page per paradigm in content/paradigms/<key>.md, where the file name is the taxonomy key and the paradigm field repeats it. That key joins the two collections — a language lists its paradigms by the same vocabulary value, so neither side can drift. A paradigm has no typing discipline, memory model, or execution model; those belong to the languages that adopt it.
| Field | Type | Notes |
|---|---|---|
name | string | required; ASCII-only; unique in this collection |
title | string | native SEO field; mirrors name; ASCII-only |
homepage | string | the paradigm's canonical home (paper, manual, standard) |
author | string | the paradigm's originator(s), verbatim |
paradigm | string | required; MUST equal the file name — the join key |
status | enum | active | experimental | dormant | historical |
year | number | the paradigm's origin year; written unquoted |
features | string[] | the defining characteristics — this IS the definition |
relations | {name,kind}[] | edges to other paradigms; kind from RELATION_KINDS |
note | string | short summary shown on the page |
Member languages are derived from the languages collection at build time — never stored — so the list can never go stale. Each paradigm value has a page (stub or curated):
Family entries
A family is lineage, not classification: it answers which language a language descends from. It is orthogonal to paradigms (what it does) and to kind (what sort of artifact the row is) — Smalltalk is object-oriented and in the Smalltalk family. One page per family in content/families/<key>.md; the file name is the key and the family field repeats it. A language declares at most one family, so the join is an exact equality on a scalar rather than a LIKE over a JSON array. Cross-family descent is recorded here as a family-to-family derived-from edge.
| Field | Type | Notes |
|---|---|---|
name | string | required; ASCII-only; unique in this collection |
title | string | native SEO field; mirrors name; ASCII-only |
homepage | string | the family's canonical home (paper, standard, project site) |
author | string | the originator(s) whose design the lineage descends from |
family | string | required; MUST equal the file name — the join key languages carry |
status | enum | active | experimental | dormant | historical |
year | number | origin year of the lineage; written unquoted |
features | string[] | traits the members share — the family resemblance |
relations | {name,kind}[] | edges to OTHER families (derived-from, shares-ancestor-with, …) |
note | string | short summary shown on the page |
Members are derived from the languages collection at build time — never stored. Each family value has a page:
Generation entries
Generations describe abstraction height — how far a notation sits above the machine — which is orthogonal to what a language does (paradigms) and to what it descends from (family). One page per tier in content/generations/<key>.md, where the file name is the key. Unlike families and features there is no promotion threshold: the ladder is a canonical five, so every value has a page even when it has no members in this corpus — an empty member list is a documented fact, and the page is where the tier is defined rather than merely counted.
| Field | Type | Notes |
|---|---|---|
name | string | required; ASCII-only; unique in this collection |
title | string | native SEO field; mirrors name; ASCII-only |
generation | string | required; MUST equal the file name — the join key languages carry |
status | enum | lifecycle of the TIER, not of a language; 4gl/5gl are historical |
year | number | when the tier framing appeared, not when its first language did |
features | string[] | the membership criterion — what qualifies a language as this tier |
references | {url,title}[] | the primary sources that establish the definition |
note | string | short verdict rendered on cards and the page |
Members are derived from the languages collection by an exact generation equality — never stored. Every tier has a page:
The code tour
Optional prose follows one skeleton; when an entry shows code, every language is demonstrated the same way — four mechanism slots (SICP's means-of-* order), each pairing a construction with a consumption (the observational reading of introduction/elimination rules). Slots may merge or be omitted when the language lacks them; code-group tab labels name the slot, and a concluding ::note callout states what to notice across the slots.
| Slot | Constructs | Consumes | Example |
|---|---|---|---|
primitives | atomic values (numbers, strings, atoms, bools) | operators | n = 42 |
combination | data structures | indexing / destructuring / iteration | xs = [2, 3] |
abstraction | the definable unit (function, class, process, actor…) | invoking / applying it | double x = x * 2 |
idioms | a characteristic community pattern | its payoff | recursion, guards, trampolines… |