Thursday, November 13, 2025
Self-Completing String
Wednesday, November 12, 2025
Autocatalytic Grammar
Autocatalytic Grammars
Rules generate new rules during derivation. The grammar evolves while you generate text.
Nonterminal -> production | production. Terminals in quotes, nonterminals bare.
Advanced Settings
Starter Grammar (Editable)
Lexicon
Runtime Stats
Autocatalytic Grammars - How it works
Autocatalytic Grammars treat a context free grammar as a living system. As the text is derived, the rules that fire can synthesize new rules and graft them back into the grammar in real time.
Basic usage
- Generate builds a complete sentence or line starting from the start symbol (default S) and allows the grammar to mutate as it runs.
- Starter Grammar is editable. Change it and click Load Starter to reset the live grammar.
- Lexicon is the pool of words used when new rules are synthesized.
- Runtime Stats show how many rules you have, how often they fire, and how many new ones have been spawned.
Autocatalytic loop
- Firing: The engine rewrites the leftmost nonterminal with one of its productions.
- Catalysis: With probability set by Autocatalysis Rate, the fired rule creates a new production.
- Grafting: The new production is inserted into a target nonterminal, immediately changing the grammar.
- Damping: As steps accumulate, the engine slowly prefers more terminal heavy productions to help runs terminate.
Parameters
- Seed: Fix this for reproducible runs. Leave blank for fresh randomness.
- Max Steps per Run: Upper bound on how many derivation steps a single Generate call may take.
- Autocatalysis Rate: Higher values mean more new rules and faster drift in the grammar.
- Termination Damping: Higher values bias the system toward stopping sooner.
- Targets: A comma separated list of nonterminals that will receive most of the new productions.
Exporting to RPG
Use the Export Grammar button to open a popup containing the current grammar in RPG style
(LHS -> RHS | RHS). You can copy that text and paste it directly into your
Recursive Production Grammar (RPG) engine.
This page is Blogger safe: no external libraries, no network calls. Everything runs in the browser.
Exported Grammar (RPG Format)
Copy this context free grammar directly into your Recursive Production Grammar (RPG) engine.
Tuesday, November 11, 2025
Nonsense Poem Generator
Nonsense Poem Generator (CC + V + CC)
Settings — edit clusters & vowels (optional)
Monday, November 10, 2025
Word Generator
Consonant-Cluster Word Generator (CC + V + CC)
Settings — edit clusters & vowels (optional)
Sunday, November 9, 2025
Syntax Mandala
Syntax Mandala
| for alternatives.About — Syntax Mandala
Generates sentences from a context-free grammar and draws their parse as a radial mandala.
Saturday, November 8, 2025
Neural Grammar Distiller
Neural Grammar Distiller - Recovered Scripture
Options (tuck away)
- Tiny recurrent context: embeddings + exponential moving context (alpha) trained to predict next word.
- Structure signals: token surprisal & PMI -> likely constituents and boundaries.
- Induction: greedy chunking to X1, X2... then count expansions -> PCFG.
- Generation: sample S to produce recovered scripture.
Friday, November 7, 2025
Context Sensitive Grammar
Entanglement Engine Context Sensitive Grammar
Options (steps & speed)
LHS (e.g., A B -> A x B). Use a preset and press Run.