Facet 10 · Fragments

Wisdom That Travels

From oral proverbs to genetic codons to software subroutines — the fragment is civilization's mechanism for storing knowledge that must survive and travel through time
Facet 10Oral TraditionMolecular Biology

Introduction

Before writing, before stone tablets, before clay and papyrus, human civilization preserved its knowledge in fragments: short, repeatable, memorable units of wisdom that could survive without a medium. A proverb. A recipe. A ritual gesture. A song verse. A name for a plant with healing properties. These are the original @fragment tags — self-contained units of knowledge that travel across people, across generations, across catastrophes, and arrive intact on the other side.

Prospectus Celestial's @fragment encodes this same principle: a named, reusable block of PCML that can be defined once and included anywhere in a scene hierarchy. It travels between files. It survives scene changes. It is included, not duplicated. It is wisdom that travels.

"A proverb is a short sentence based on long experience." — Miguel de Cervantes, Don Quixote, 1605

Oral Tradition and Proverbs: The First Fragments

The griots of West Africa (from the Mande word gewel) are hereditary oral historians who serve as living libraries of genealogy, law, history, music, and cultural knowledge. A master griot may hold in memory the oral histories of dozens of lineages going back forty generations — over 1,000 years of social, political, and genealogical data, encoded in narrative fragments and transmitted intact through training and repetition. When the Malian Empire (1235–1600 CE) fell, its history survived in the griots of the successor states. The Empire's documents decayed; the human fragments persisted.

The proverb is the smallest oral fragment. The Yoruba language has over 2,000 documented proverbs (owe), each a compressed unit of wisdom that can be inserted into any conversation where it applies. "Owe l'esin oro; bi oro ba sonu, owe ni a fi n wa a" — "Proverbs are the horses of words; when communication is lost, it is through proverbs that we find it." This is exactly what a PCML @fragment does: when a complex UI pattern needs to appear in many contexts, the fragment is the vehicle that carries it there.

Metaphor
"@fragment id='navBar' is a proverb: written once in the village of its origin, repeated in every conversation where it applies. It belongs to no single scene, yet serves every scene that calls it. It is the distilled wisdom of the UI — too useful to rewrite, too important to forget."

Genes as Fragments: DNA's Reusable Code

DNA — the molecule of life — is organized as fragments. A gene (typically 1,000–5,000 base pairs out of 3.2 billion total) is a bounded, reusable unit of biological information: a @fragment that can be "included" in any cell type by being transcribed into messenger RNA. The gene for insulin is encoded once in chromosome 11; it is expressed (included) in the beta cells of the pancreas. The gene for hemoglobin is encoded once and expressed in red blood cells. Millions of cell divisions copy the genome — but expression (inclusion) is selective, contextual, controlled.

The human genome contains approximately 20,000–25,000 protein-coding genes across ~3.2 billion base pairs, but each cell expresses only the subset relevant to its function — a selective #include of the biological fragment library. Approximately 98% of the genome does not code for proteins and was once called "junk DNA" — it is now known to contain regulatory sequences, non-coding RNAs, and structural elements. The "junk" is the scaffolding of the fragment system: the introns, the promoters, the enhancers. The @fragment tag works only because the surrounding structure is in place to call it.

Codons: Molecular Subroutines

At the finest scale of biology, the codon is the fragment. A codon is a sequence of exactly three nucleotide bases (from the four letters A, T, G, C) that encodes one amino acid. With 4 possible bases and 3 positions, there are 64 possible codons — more than enough to encode the 20 standard amino acids plus 3 stop signals (the biological equivalent of return;). The genetic code is universal: the codon AUG (methionine) means "start" in bacteria, in oak trees, in humans, in yeast. This is the most successful API specification in the history of life — 3.8 billion years of backward compatibility.

The codon is a fixed-size fragment. Every codon is exactly 3 bases. Every invocation is identical in structure. The payload (which amino acid it encodes) varies, but the container format never changes. This is the principle of the PCML @fragment: a bounded, named container with a consistent interface, whose payload can vary according to the context in which it is included.

Oral Proverb
Fixed, memorable, travels across people and generations without a medium
Gene
Fixed sequence on chromosome, expressed selectively in relevant cell types
PCML Fragment
Named PCML block, included in any scene that references its ID

Software Reuse History: 70 Years of Fragments

The history of software engineering is a history of increasingly sophisticated fragment systems. The subroutine (1951, David Wheeler — also known as "Wheeler's jump") was the first: a named, callable block of machine code that could be invoked from any point in a program. Wheeler's insight was that common code patterns should be written once and called many times, saving both memory and programmer time. The first subroutine library was created by Wheeler at Cambridge for the EDSAC computer. He is credited as the inventor of the concept of the subroutine.

Each step adds: naming, parameterization, typing, composition. Each step makes fragments more powerful, more portable, more reusable. PCML @fragment is the current terminus of this 70-year trajectory.

Cultural Fragments: Memes, Motifs, and Liturgy

Richard Dawkins coined the term "meme" in The Selfish Gene (1976) specifically to name cultural fragments: units of cultural information that replicate, mutate, and travel across minds the way genes travel across generations. A melody, a catchphrase, a fashion, a dance move, a political slogan — each is a fragment that can be "included" in any cultural moment where it applies. The biological analogy is exact: memes compete for cognitive real estate (attention, memory) just as genes compete for survival in a population.

Liturgical fragments are among the most stable: the Lord's Prayer has been recited in substantially the same form since ~100 CE — approximately 1,925 years of fragment stability. The Jewish Shema ("Hear, O Israel") has been recited since at least 600 BCE — 2,600 years. The Catholic Mass has maintained its core fragment structure through the Council of Trent (1545), the Second Vatican Council (1962), and multiple translations. These fragments survive because they are stored in the most reliable medium available: millions of human minds, synchronously rehearsing the same text.

PCML @fragment: Definition and Inclusion

-- Define the fragment once (typically in a shared .pcs file)
protected @fragment id="standardButton" {
  @shape type="roundRect" fill=#1a1630 stroke=#f0c060 radius=8 {
    @text id="btnLabel" value="Button" color=#f0c060 font-size=14 { }
  }
}

-- Include it in any scene — wisdom that travels
@scene id="mainMenu" {
  @include #standardButton { }
  @include #standardButton { }
}

@scene id="settings" {
  @include #standardButton { }
}

Composition and Travel

The deepest property of fragments is their ability to be composed: fragments that include other fragments, proverbs that quote other proverbs, genes within regulatory networks of genes. The Psalms of the Hebrew Bible (~10th–5th century BCE) quote, adapt, and compose earlier poems. Bach's Goldberg Variations (1741) build an entire architecture of 30 variations on a single bass line fragment (the Ground). Each variation is a new fragment composed atop the same foundation — a PCML inheritance hierarchy of musical meaning.

Fragment TypeMediumComposition MechanismSurvival Strategy
Oral proverbHuman memoryEmbedding in speechMemorability, brevity
GeneDNARegulatory networksReplication fidelity
CodonmRNAProtein assemblyUniversal genetic code
SubroutineMachine/source codeCall stackCompilation and libraries
PCML @fragment.pcs file@include / #referenceScene graph inclusion
Metaphor
"A fragment is a seed. Defined in the earth of one scene, carried by the wind of @include, it flowers in any scene that receives it. You do not replant the seed each time — you let it travel. The forest grows because seeds travel. The application grows because fragments travel."