Friday, October 24, 2025

Recursive Production Grammar

Recursive Grammar - Micro Edition (Showcase)

Recursive Grammar - Micro Edition

Deterministic CFG * Supplemented Growth * Showcase Grammars
Grammar Scripting Language

- Rule form: A -> B C "word" (uppercase = nonterminal, quoted = terminal).
- | OR between alternatives (quote/brace aware).
- Weights: {p=2.5} biases deterministic choice per occurrence.
- Repetition: a token like SSS means S S S.
- Supplement-on-terminal: if a run becomes terminal before N, a fresh <S> is injected so you still get N real rewrites.
- Cleaner: parentheses-only strings omit punctuation; otherwise a trailing period is added if missing.
Pick a preset to load it below.
No file
Tip: drag & drop a file onto the editor to load.

Steps
Last: - Steps: 0

No comments:

Post a Comment