formal_grammar/. Combines the 11 per-domain modules from 6c.3, preserves epistemological conflicts explicitly (no silent merge).The package is importable from the book directory. The canonical Svara and Grāma come from the most foundational module (melodic_derivations). Each conflicting Enum keeps its domain-suffixed name so that no view is silently overwritten.
| Module | Total | Enum | dataclass | function | constant |
|---|---|---|---|---|---|
alankara_varna | 49 | 5 | 5 | 17 | 22 |
authority_lakshana | 35 | 6 | 6 | 12 | 11 |
bhasha_raga_corpus | 30 | 3 | 4 | 10 | 13 |
desi_raga_ela | 36 | 7 | 6 | 12 | 11 |
dhruva_natya | 41 | 7 | 8 | 14 | 12 |
jati_structure | 34 | 3 | 3 | 13 | 15 |
marga_style | 52 | 12 | 2 | 16 | 22 |
melodic_derivations | 34 | 4 | 4 | 10 | 16 |
sruti_theory | 39 | 1 | 6 | 17 | 15 |
tala_prabandha | 49 | 7 | 5 | 17 | 20 |
treatise_meta | 42 | 4 | 5 | 15 | 18 |
Same signature across all modules that define them — safe to re-export under canonical name.
Different modules give the same name to different concepts. Both views are preserved under suffixed names. No silent merge.
Two domains share an edge when they reference the same type. Top 20 by weight.
| Domain A | Domain B | Weight | Shared symbols | |
|---|---|---|---|---|
authority_lakshana | ↔ | sruti_theory | 1 | Authority |
alankara_varna | ↔ | jati_structure | 1 | SvaraRole |
desi_raga_ela | ↔ | marga_style | 1 | Vṛtti |