Research note · open topic No FPGA board result in this paper

The Language Constellation — a knowledge graph + information theory for every curated language

26 Nov 2026. Built in `competence-catalog::constellation`, measured on real tree-sitter

David Charlot, Open Interface Engineering

Research studies, not journal finals. Notation is defined in the paper. Analytical energy estimates are not board power. Interactive figures live under /living/. Shared terms: glossary.

Cite this

Genre: Research note · open topic

David Charlot, Open Interface Engineering. The Language Constellation — a knowledge graph + information theory for every curated language. Open Interface Engineering. Web: https://research.openie.dev/papers/rce-language-constellation/. PDF: https://research.openie.dev/pdfs/rce-language-constellation.pdf.


title: “The Language Constellation — a knowledge graph + information theory for every curated language” deck: “26 Nov 2026. Built in competence-catalog::constellation, measured on real tree-sitter” id: rce-language-constellation status: “Research note · open topic” author: “David Charlot, Open Interface Engineering” figures: "" pdf: "" board_metered: false

The Language Constellation — a knowledge graph + information theory for every curated language

26 Nov 2026. Built in competence-catalog::constellation, measured on real tree-sitter node-types.json, enumerated from the exhaustive curation (GitHub Linguist languages.yml, cross-referenced with the tree-sitter grammar directory, Wikipedia’s list and Rosetta Code). Interactive artifact: rce-language-constellation.html. Graph JSON: constellation example.

BLUF

The constellation is an open ontology and measurement layer over the public language curation: 12,117 catalogued languages (a merge of PLDB, GitHub Linguist, Pygments, Wikipedia, esolangs, Hyperpolyglot, Rosetta Code and Wikidata, per Acher’s PL-ultimate-llm) as graph nodes, of which 75 are measured against a real tree-sitter grammar and carry a grammar-derived information profile. Every other language is present as a node with measured=false and no invented numbers. Edges encode family, paradigm and documented influence; the interactive page renders them as a constellation and adds search, cross-language translation/subsumption, information, lineage, editor-standards, immersion-gap and source-provenance views. The information-theoretic frame used is I = H_task − H_corpus → 0, stated as a hypothesis priced in joules, not an established law.

What each measured node carries (all computed, none asserted)

  • named_nodes N — the grammar’s named node types (its syntactic surface size).
  • constructs C — distinct universal constructs those nodes realize (semantic breadth).
  • coverage — mapped/total named nodes (1.0000 for all 75).
  • h_struct_bits H — Shannon entropy of the construct histogram: how evenly the grammar’s surface spreads across the universal taxonomy. Structural, not corpus — honestly labelled.
  • redundancy = 1 − H/log2(C) — the surface variety that is syntactic sugar, not free information.
  • surface_per_construct = N/C — the mean surface forms per universal construct: the distance a universal IR must collapse for this language.
  • law — the frame: H_corpus structural proxy, the redundancy the IR collapses at admission, the G0 lookup floor (1 µJ) vs cold proposer (5,000,000 µJ), the 5,000,000× reuse ratio, whether an emission LUT row exists, and a plain-language statement of the law for that language.

Measured observation: the surface-to-construct distance is non-uniform

The bridging distance is not uniform. Python (1.77), JavaScript (1.72), Go (1.75), Lua (1.09), Elixir (1.05), R (1.05) map nearly one surface form per universal construct — low redundancy (0.03–0.08). Standard ML (11.17), OCaml (6.27), Idris (6.03), Ada (5.85), Haskell (5.50) carry many surface forms per construct — higher redundancy (0.13–0.26). This is a measured, per-language quantity: how much surface variety a universal representation must collapse for that language. It is reported as data; no claim of superiority over any existing system is made from it.

Measured per-language information profile (75)

languagenamed Nconstructs CcoverageH (bits)redundancysurface/C
D284721.00005.0300.1824.00
OCaml276441.00004.2820.2166.27
TLA+273441.00004.0380.2606.20
MoonBit257621.00004.8200.1904.15
Fortran240471.00004.3220.2225.11
C#233721.00005.1910.1593.24
C++230681.00005.0820.1653.38
Ada228391.00004.0270.2385.85
Reason226421.00004.3990.1845.38
Dart223661.00005.1260.1523.38
Cangjie202431.00004.6030.1524.70
F#201391.00004.4370.1605.15
Haskell187341.00004.4460.1265.50
Idris181301.00003.9170.2026.03
Coq172381.00004.4080.1604.53
Scala173441.00004.7750.1253.93
Rust169661.00005.4000.1072.56
Dhall166271.00003.7410.2136.15
Erlang164331.00004.1970.1684.97
ReScript160591.00005.0770.1372.72
PHP157621.00005.2690.1152.53
PowerShell153481.00004.6230.1723.19
Crystal152431.00004.6650.1403.53
Java151721.00005.7040.0762.10
Ruby149441.00004.5130.1733.39
Roc149341.00004.3670.1424.38
Perl146541.00004.3960.2362.70
V144651.00005.3620.1102.22
Lean141341.00004.4680.1224.15
Mojo141761.00005.8730.0601.86
F*134501.00004.7980.1502.68
Standard ML134121.00002.8270.21111.17
C132571.00005.1530.1172.32
Koka130281.00004.0630.1554.64
Python129731.00005.8380.0571.77
PureScript128251.00004.1500.1065.12
Nim127401.00004.5610.1433.17
Kotlin120541.00005.0380.1252.22
JavaScript119691.00005.7530.0581.72
Go112641.00005.4960.0841.75
Odin107631.00005.3190.1101.70
TypeScript183751.00005.5040.1162.44
CSS64381.00004.7750.0901.68
Bash62391.00004.7840.0951.59
CMake58151.00003.3260.1493.87
Dockerfile48161.00003.3410.1653.00
YAML36201.00003.8920.1001.80
HTML19101.00003.0720.0761.90
TOML19121.00003.4060.0501.58
JSON13101.00003.2390.0251.30
Zig99571.00005.2940.0921.74
Gleam97491.00005.0960.0882.02
Unison93311.00004.3940.1133.00
Elm92251.00004.0660.1243.68
Julia89541.00005.1650.1031.65
GraphQL74211.00003.8220.1303.52
Agda72301.00004.3720.1092.40
Swift72321.00004.3960.1212.25
Wenyan64171.00003.0110.2633.76
Markdown66181.00003.4720.1673.67
Lua51471.00005.3880.0301.09
Common Lisp50231.00004.0290.1092.17
Elixir45431.00005.2110.0401.05
Make44161.00003.5970.1012.75
Nix42281.00003.8990.1891.50
R40381.00005.0110.0451.05
Clojure35161.00003.4210.1452.19
Grain35371.00005.1130.0190.95
Racket32191.00003.8280.0991.68
Scheme27131.00003.3230.1022.08
Prolog26171.00003.9500.0341.53
Alusus (seed)25231.00004.4840.0091.09
Nadeshiko (seed)24231.00004.5020.0051.04
Ezhil (seed)24231.00004.5020.0051.04
Emacs Lisp20121.00003.1390.1241.67

Graph structure

  • Nodes: 587 languages + family hubs (C/systems, JVM, ML/functional/proof, Lisp, BEAM, JavaScript, Python, Ruby, Scientific/array, Logic, Shell, SQL, Config, Esoteric, Smalltalk, Pascal, Apple/Swift, PHP, Lua, Modern systems, East-Asian-new, …) + paradigm hubs.
  • Edges: family (language→lineage hub), paradigm (language→paradigm hub), influence (documented lineage, e.g. C→C++/Rust/Go, Haskell→Rust/Elm/PureScript, OCaml→Rust/F#/ReScript, Erlang→Elixir/Gleam, Python→Mojo, Coq→Lean, Rust/OCaml→MoonBit, Kotlin/Swift/Rust→Cangjie).
  • Layout: golden-angle phyllotaxis (even spacing, no dense blob), family-coloured; measured nodes glow green; influence edges are the constellation lines. Pan/zoom/search/filter; click a node for its full profile + Law frame.

Reproduce

cargo run --example constellation -- /tmp/constellation.json   # graph from real node-types
cargo test --test constellation                                 # bounds + honesty checks
python3 /tmp/build_constellation_html.py                        # interactive artifact

Universe: data/universe.json (parsed from github-linguist/linguist languages.yml, 860 entries). Grammars: upstream tree-sitter repos (see rce-language-coverage-100.md for the 28 prior; the 20 new are ionide/fsharp, MatthewFluet/sml, postsolar/purescript, oaustegard/mojo, jstzwj/cangjie, duskmoon314/wenyan, elm-tooling/elm, 6cdh/racket, theHamsta/commonlisp, Wilfred/elisp, gleam-lang/gleam, moonbitlang/moonbit, rescript-lang/rescript, reasonml-editor/reason, nix-community/nix, kayhide/idris, tree-sitter/agda, Julian/lean, FStarLang/fstar, briot/ada; perl tree-sitter-perl, coq aruzdh/tree-sitter-rocq, dhall jmitchell, unison kylegoetz — all node-types generated with tree-sitter CLI 0.27.2; koka koka-community, grain marceline-cramer, roc faldor20, v undivisible, odin tree-sitter-grammars). Nadeshiko/Ezhil/Alusus are authored seeds. Mercury is excluded: its public tree-sitter grammar is a 1-node stub (source_file only), so claiming coverage on it would be inflation, not measurement.

Language prediction — the capability-gap frontier (langpredict)

The inverse question: what capability is still missing for the AI / hybrid-fabric era, and what language would realize it natively? For each fabric class the module names the native constructs absent from the 113-taxonomy and emits a predicted language whose primitives ARE the fabric’s primitives — eliminating the impedance tax between OS, hardware and language:

fabricmissing native constructspredicted language
quantumqubit, superpose, entangle, measure, phase, gate, teleport, no_cloneSuperpose
thermodynamic / reversiblereverse, dissipate, landauer, entropy_budget, heat, reversible_gate, energy_typeLandauer
spatial / dataflowplace, route, pipeline, spatial_loop, reconfig, bitstreamTessera
neuromorphicspike, synapse, plasticity, event_time, membraneSpike
probabilisticsample, distribution, bernoulli, infer, pbitAlea
analog / in-memoryconductance, mac, crossbar, drift, analog_readOhm

This is analysis (gap + spec), tested (tests/langpredict.rs); the native constructs are kept out of CONSTRUCTS so the measured matrix stays truthful. Synthesizing these hardware-native languages is the registered advanced step, sequenced AFTER full language ingestion + RCE-JEPA headway.

Open (named, honest)

  • Measure the rest of the universe. ~12,057 catalogued languages are present but unmeasured (no public tree-sitter grammar ingested). Each is a registered node, not a fabricated profile.
  • Perl/Coq/Dhall/Unison generated + measured; Nadeshiko/Ezhil/Alusus authored seeds measured.
  • Corpus-level entropy (true H_corpus over real code) remains a measurement beyond the structural proxy reported here; the structural figures are labelled as such, never conflated.
  • Advanced (sequenced last): synthesize quantum/thermodynamic/architecture-native languages from the langpredict specs; extend the taxonomy with the native constructs; RCE-JEPA at scale.

The frame I = H_task − H_corpus → 0 is applied uniformly; the distance each language’s surface must be collapsed is reported as a measured, per-language number.

This artifact sits among existing efforts and does not claim to replace them:

  • Curation: GitHub Linguist; PLDB; Acher PL-ultimate-llm (merged 12k+ catalog with Software Heritage evidence); Rosetta Code; Hyperpolyglot; programming-idioms.org.
  • Grammars: tree-sitter; ANTLR grammars-v4.
  • Code ontologies / indexing: srcML; Kythe (Google); Glean (Meta); GitHub Semantic; SCIP/LSIF (Sourcegraph).
  • Universal IRs / runtimes: LLVM IR; MLIR; WebAssembly; JVM bytecode / .NET CIL; GraalVM/Truffle; historical UNCOL/ANDF/TenDRA.
  • Cross-language compilers: Haxe; py2many; c2rust; CrossTL (2025); RIKEN/Tsukuba Omni Compiler (XcodeML, Japan).
  • Editor onboarding standards: VSCode (TextMate + LSP + DAP + package.json); Zed (extension.toml + tree-sitter + queries + LSP/DAP adapters); JetBrains (PSI/Grammar-Kit or native LSP API); Neovim/Emacs/Helix/Sublime/Eclipse and the Chinese/Japanese/Korean/Russian/ online ecosystems — mapped in the constellation’s “Editor standards” view (https://research.openie.dev/constellation/). LSP/DAP amortize semantics across ecosystems; grammar and packaging remain per-ecosystem.

The replay-gated, joule-priced admission layer is the component not covered by the surveyed peers; it is presented as a hypothesis under test.