← domains · grammar index

Formal grammar — assembled step 6c.4

Auto-generated package formal_grammar/. Combines the 11 per-domain modules from 6c.3, preserves epistemological conflicts explicitly (no silent merge).
11modules
441public symbols
0shared (compatible)
3conflicts preserved
3inter-domain edges

How to use the package

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.

import sys; sys.path.insert(0, 'data/library/books/brihaddesi_sharma_1992') from formal_grammar import Svara, Grāma, Authority_SrutiTheory, Authority_AuthorityLakshana from formal_grammar import melodic_derivations, jati_structure, alankara_varna, sruti_theory, ... m = melodic_derivations.murchana_at(Grāma.SADJA, 3) print(m.starting_svara, m.sequence) # → ma, (ma,ga,ri,sa,ni,dha,pa)

Per-module symbol counts

ModuleTotalEnumdataclassfunctionconstant
alankara_varna49551722
authority_lakshana35661211
bhasha_raga_corpus30341013
desi_raga_ela36761211
dhruva_natya41781412
jati_structure34331315
marga_style521221622
melodic_derivations34441016
sruti_theory39161715
tala_prabandha49751720
treatise_meta42451518

Compatible shared types (0)

Same signature across all modules that define them — safe to re-export under canonical name.

Conflicts preserved (3)

Different modules give the same name to different concepts. Both views are preserved under suffixed names. No silent merge.

Authority 2 variants
Préservé sous noms suffixés — désaccord épistémologique conservé.
authority_lakshana → Authority_AuthorityLakshana
Enum[BHARATA,KUMBHA,MATANGA,SARDULA,SARNGADEVA]
sruti_theory → Authority_SrutiTheory
Enum[ABHINAVAGUPTA,BHARATA,BRD,DIFFERENTIATED,INFINITIST,KOHALA,MATANGA,MIMAMSA_STRICT,THREEFOLD_VAIGUNYA,TUMBURU,VAMSA_TRADITION]
SvaraRole 2 variants
Préservé sous noms suffixés — désaccord épistémologique conservé.
alankara_varna → SvaraRole_AlankaraVarna
Enum[ANUVADIN,SAMVADIN,VADIN,VIVADIN]
jati_structure → SvaraRole_JatiStructure
Enum[AMSA,ANISA,ANTARA,APANYASA,GRAHA,KAKALI,NYASA,PARYAYAMSA,SADHARANA]
Vṛtti 2 variants
Préservé sous noms suffixés — désaccord épistémologique conservé.
desi_raga_ela → Vṛtti_DesiRagaEla
Enum[SATTVATI]
marga_style → Vṛtti_MargaStyle
Enum[CITRA,DAKSINA,VRTTI]

Inter-domain edges (3)

Two domains share an edge when they reference the same type. Top 20 by weight.

Domain ADomain BWeightShared symbols
authority_lakshanasruti_theory1Authority
alankara_varnajati_structure1SvaraRole
desi_raga_elamarga_style1Vṛtti