The Language Constellation

An open ontology of programming languages — curation, structure, information, and cross-language translation. 12,117 catalogued languages; 75 measured against real grammars. Neutral reference, not a product pitch.
→ same universal construct, two surfaces

Subsumption / bridge

Construct-by-construct surface map

ConstructSource surfaceTarget surface

Structural entropy vs redundancy (measured)

Reading the profile

H is the Shannon entropy of a grammar's construct histogram (bits): how evenly its surface forms spread across a universal construct taxonomy. Redundancy = 1 − H/log2(C) is the surface variety that is syntactic sugar rather than free information. Surface/construct = N/C is the mean number of surface forms per universal construct — the distance a universal IR must collapse for that language. These are grammar-derived (structural) measures, not corpus frequencies.

The information-theoretic frame used throughout: I = H_task − H_corpus → 0. Once a competence is admitted by replay, each act costs a lookup floor (~1 µJ) rather than a cold proposal (~5,000,000 µJ). The frame is a hypothesis priced in joules, not a settled law.

Measured languages, sorted by surface/construct

LanguageNCcoverageH bitsredundancysurface/C

Influence edges as recorded in the merged catalog (influenced_by), laid out by first-appearance year. Click a node for its record. This is the documented road of ideas, independent of any one system.

Who builds language ontologies, universal IRs, and cross-language translators — surveyed globally, credited where more mature. This artifact is a measurement and navigation layer over that existing work; it does not claim to replace it.

Where this artifact sits

Curation efforts (Linguist, PLDB, Acher's merged catalog, Rosetta Code, Hyperpolyglot) enumerate languages and evidence. Grammar efforts (tree-sitter, ANTLR grammars-v4) make syntax machine-readable. Code ontologies (srcML, Kythe, Glean, Semantic, SCIP/LSIF) index facts about code across languages. Universal IRs (LLVM, MLIR, WebAssembly, JVM/CIL, GraalVM/Truffle) and cross-language compilers (Haxe, py2many, c2rust, CrossTL, RIKEN Omni) lower or translate between languages. What is measured here is the per-language surface-to-construct distance and the construct bridge between any two measured languages, with an explicit honesty contract: unmeasured languages carry no invented numbers. The replay-gated, joule-priced admission layer is the part not covered by the surveyed peers; it is stated as a hypothesis under test, not as a marketed conclusion.

Provenance of the 12,117-language universe: a merge of public curation efforts, each counted below. A language's badge set shows which efforts record it; measurement (a real grammar ingested) is a separate, stricter claim.

Honesty contract

Curated ≠ measured. 60 languages have a real tree-sitter grammar ingested and 100% named-node coverage; the rest are present as catalogued nodes with no invented entropy or coverage. Mercury is excluded because its public grammar is a one-node stub. Structural entropy is labelled structural and never conflated with corpus entropy.

How a language enters an editor ecosystem. Three packaging standards, converging on shared open artifacts: a grammar, a language server (LSP), a debug adapter (DAP), and a per-ecosystem manifest. LSP/DAP amortize semantics across ecosystems; the grammar and packaging remain per-ecosystem — the residual impedance tax.

The shared artifact stack

LayerVSCodeZedJetBrains IntelliJ
Grammar / syntaxTextMate .tmLanguage.jsontree-sitter grammar + queries (highlights/indents/outline)PSI lexer/parser (Grammar-Kit, IElementType)
Language configlanguage-configuration.json + snippetsconfig.toml (brackets, indent, comments)plugin.xml + LanguageFileType
Semantics (IDE features)LSP server via extensionLSP adapter (zed_extension_api, Rust→Wasm/WIT)native PSI features, or native LSP API / lsp4ij
DebugDAP adapterDAP adapter (debug adapter protocol)native debugger / XDebugProcess
Packaging / registrypackage.json contributes → Marketplaceextension.toml → Zed extension registryplugin.xml → JetBrains Marketplace

What four languages actually shipped, per ecosystem

LanguageVSCodeZedJetBrainsShared server / adapter

Global editor ecosystems — the mechanism each exposes

EcosystemOriginGrammar / syntaxSemanticsDebugPackaging / extension standard

Reading

Rust, Go, Python and Zig each reached all three ecosystems by supplying the same logical bundle — grammar, language server, debug adapter, manifest — but re-packaged per ecosystem. rust-analyzer, gopls, pyright/Pylance and zls are LSP servers reused across VSCode and Zed (and via LSP API in IntelliJ); the grammar is re-expressed as TextMate vs tree-sitter vs PSI, and the manifest as package.json vs extension.toml vs plugin.xml. The semantics amortize; the syntax and packaging do not. That per-ecosystem re-expression is the impedance tax a universal construct IR plus generated adapters targets.

Two different axes: immersion (how deeply an editor surfaces a language: grammar → semantic tokens/inlays → completion → navigation → refactor/code actions → diagnostics → debug → live/REPL → AI context) and competence (whether what the editor surfaces is verified, replay-admitted, content-addressed and costed). Most languages are stale or absent on immersion; essentially none are competence-backed. The exemplar of competence immersed live is rust-analyzer + the borrow checker: a gate surfaced as inline diagnostics/inlays so violations appear at edit time, not debug time.

Measured immersion coverage

Measured languages: immersion artifacts present

LanguageGrammar (measured)LSP serverDebug adapterImmersion 0–3Competence-backed editor

The gap and the unlock (hypothesis)

Immersion adapters are hand-maintained per ecosystem, so they drift from changing editor specs or are never built — the staleness gap. Competence-backed immersion exists only as per-language, hand-built proofs-of-concept (Lean infoview goal/type at cursor; Agda/Idris hole-driven editing where the editor requests a verified term; Unison's content-addressed, type-checked-by-hash codebase; Smalltalk/Pharo live images; Light Table / Bret Victor immediate feedback; MPS projectional editing). None is universal, generated, or joule-costed.

The proposed unlock: represent every language by one universal construct IR; generate the immersion adapters (grammar, queries, LSP, DAP, manifest) from it so they cannot go stale; and back editor features with admitted competence (replay-verified, content-addressed, joule-priced handlers). Then diagnostics become admission failures caught at edit time, debugging becomes replay-divergence localized to a construct, and completion becomes admitted competence rather than a heuristic guess. Errors and debugging trend toward zero because known-correct handlers replace re-derived code and every edit is gated before use. This is stated as a hypothesis under test, not a delivered claim.

Prototype receipts for the proposed unlock: a competence-backed editor loop (Rust first), generated editor adapters, and synthesized fabric-native languages. Every edit is replay-gated before it is served; errors are caught at edit time; debugging is replay-divergence, not post-hoc. These are measured prototype receipts, not a delivered product claim.

Competence-backed editor loop (Rust)

Generated adapters

From one emission LUT the prototype generates VSCode package.json / language-configuration / snippets / semantic-token legend, Zed extension.toml, and a DAP manifest — the immersion layer derived from the IR so it tracks editor specs instead of going stale.

Synthesized fabric-native languages

LanguageFabricParadigmConstructsGrammar coverageSample replays

What this tests

Zero-error hypothesis: because nothing is served unless it replays every probe, errors cannot escape to runtime (escaped_errors = 0) and post-hoc debug sessions are 0; reuse lowers cost per act toward the lookup floor. Native-language synthesis turns each fabric capability-gap into a language-as-data (constructs + seed grammar + emission LUT + declared native semantics); production lowering to the fabric remains open.