Saturday, November 22, 2025
Character Level PPM (Prediction by Partial Matching)
Friday, November 21, 2025
Hybrid L-System × RPG-CFG Poem
Hybrid L-System × RPG-CFG Poem (Participial Expansion)
Adds participles (verbs acting as adjectives, ending in “ing”) for richer texture.
Thursday, November 20, 2025
L-System Psalm
Wednesday, November 19, 2025
Tonal Game Theory
Tonal Arena - Sparse Ecology
This arena is an ecology of moving phrases. Each agent has:
- a tone (irony, sincerity, zeal, despair, reverence, indifference)
- a short phrase in that tone
- energy, age, and a position in the arena
When phrases collide, they exchange a small energy payoff based on their tones. Sometimes they mate: the child phrase is built from the left half of one parent and the right half of the other, with a small mutation based on the Mutation setting.
Selection controls how strongly these payoffs affect energy and survival. Overcrowding increases metabolism so the population does not blow up.
Use Reseed to start over, Step to advance one tick, Run and Stop to animate. Copy Snapshot copies a JSON dump of the current agents. Download saves this app as a single HTML file.
Tuesday, November 18, 2025
Epigenetic Grammars
CFG Script
Sample Output
Epigenetic Expression
The system stores an evolving state: productions carry weights (expression) and marks (methylation). Each generation:
- Weights drift; marked alternatives are silenced and omitted from the live grammar.
- Recent output feeds back into the lexicon (environmental uptake).
- Marks can fade, re‑expressing dormant structures after several generations.
Use Evolve Generation to inherit and mutate; Reset Evolution clears memory.
Knots (RPG Script) (Pocket Ontologies)
Knots
Pocket Ontology Script for Recursive Production Grammar
Copy this grammar into the Recursive Production Grammar engine and set
Start = S to generate Laing-style knots as pocket ontologies.
Monday, November 17, 2025
Ecological Succession Simulation
Ecological Succession Simulator
Grammar evolves over epochs as word "species" colonize, dominate, and go extinct. Early = bare syntax; late = complex subordinate structures.
How to read what you're seeing
This simulator turns an ecology of word species into text using a POS (part-of-speech) Markov chain. Here's how each knob maps to the output you see:
Early favors skeleton phrases like
DET N V -> shorter, declarative lines. Mid/Late gradually allow REL + C (that/which/and/because), so you'll see longer clauses and subordination.
Higher -> more new content words (N/ADJ/V/ADV) enter the pool. You'll notice novel compounds like
after-seed or ledger-star in later epochs.
Higher -> rare species get culled. Output becomes sparser and repeats a smaller vocabulary; diversity (H') drops.
Perturbs the POS transition matrix and morphs content words only. Function words (the/and/that/can...) are locked to prevent glue like
afterthis. Expect hyphenated compounds and small vowel flips.
Richness = number of active species; H' (Shannon) measures balance. As both rise, lines tend to lengthen and vary syntactically.
When checked, each epoch prints a faint line like:
epoch 12 | stage mid | +2 spec, -1 extinct | skeletons: DET ADJ N V P DET N . | PRO AUX V ADV .That tells you exactly which templates were used and what ecological changes occurred that produced the lines above it.
Recipes
- Bare syntax field: raise Extinction, lower Speciation, low Mutation -> clipped declaratives with repeated nouns/verbs.
- Climax forest: lower Extinction, raise Speciation & Mutation -> subordinate clauses, relative pronouns, compounds proliferate.
- Disturbance event: run rich/late, then briefly spike Extinction to "burn" the lexicon; watch secondary succession rebuild variety.
Under the hood: we sample POS skeletons by stage, then pick concrete tokens with probability proportional to each species' abundance. Abundance drifts (winners grow, others decay), while speciation/extinction add and remove species every epoch.
Sunday, November 16, 2025
Random Context-Free Grammar Generator
Random CFG Generator + Runner — Themed (Hard Verb Mode)
POS-only, 3–7 word lines. Themes + hybrids. Verb-led bias with participial NPs (e.g., the falling star).- Generate CFG builds a themed lexicon. VERB never collapses to empty; VBGs are auto-derived with guards.
- Run Script expands from S with a strong preference for verb-led lines.
- Lines filtered to 3–7 words, duplicates removed, “a/an” auto-fixed.