Friday, October 24, 2025

Recursive Production Grammar

Recursive Grammar - Micro Edition (Until Terminal - No Supplement)

Recursive Grammar - Micro Edition

Random "|" - Weights {p=} - Epsilon {} - Until terminal only - No supplement
Notes

- Rule: A -> B C "word" (uppercase nonterminals; digits allowed only at the end).
- Alternatives: | (quote/brace aware). {p=} weights; {} epsilon; {br} = newline.
- Output: final expanded text only by default. Toggle Show derivation for logs.
- Pipes in output are removed (ignored at lexing; filtered at polish).
- Curly braces in output are suppressed unless inside quotes.
- For long runs to hit 50k+ words, leave Loop guard OFF (default). Turn it on only to abort pathological loops.
First LHS defines Start
Steps: 0
No file
Drag & drop onto the editor to load.

No comments:

Post a Comment