व्याकरणम् Vyākaraṇa
Grammar is one of the six limbs of the Veda. Its word, vyākaraṇa, means "taking apart": undoing a spoken word into the pieces it was built from, and building it again by rule. The tradition called it the mouth of the Veda.
Pāṇini's grammar is not one book. The rules of the Aṣṭādhyāyī point to lists kept outside them: the sounds of the Śivasūtras, the roots of the Dhātupāṭha, the word groups of the Gaṇapāṭha. The tradition counts five parts of the system, the pañcāṅga: the rules, the roots, the word lists, the Uṇādi suffixes and the rules of gender. They are all here, with the accent rules of the Phiṭsūtras, the maxims for reading the rules, and Bhartṛhari's philosophy of grammar.
Read them in this order if you are new. My own commentary on the Aṣṭādhyāyī will follow, rule by rule.
The fourteen lines that come before the first rule. They list the sounds of Sanskrit in an order built for the grammar, each line closed by a marker letter that is never spoken. Any sound and a later marker together name a group of sounds: ik is i, u, ṛ and ḷ. The tradition says they came from the drum of Śiva.
14 lines →अष्टाध्यायी2. AṣṭādhyāyīThe eight chapters of PāṇiniPāṇini's grammar: about four thousand short rules in eight chapters (adhyāya) of four quarters (pāda) each, which together build every correct form of Sanskrit. Each rule is numbered chapter.quarter.rule, so 6.1.77 is the seventy-seventh rule of the first quarter of the sixth chapter.
3,983 sūtras →धातुपाठः3. DhātupāṭhaḥThe list of verbal rootsThe roots of Sanskrit verbs in ten classes (gaṇa), each class named after its first root. Each root is listed in its teaching form, with markers that tell the rules how it behaves, and with its meaning. Associated with Pāṇini, with later additions.
2,259 entries →गणपाठः4. GaṇapāṭhaḥThe word lists the rules point toLists of words that a rule names by its first member and "the rest" (ādi). Rule 1.1.27 says the sarvādi, "sarva and the rest", are pronouns, and this list says which words those are. Each list names the rule that uses it.
262 lists →उणादिसूत्राणि5. UṇādisūtrāṇiThe suffixes that make ready-made wordsRules that build nouns whose formation the main grammar leaves aside, such as kāru, "craftsman", and vāyu, "wind", from roots with the suffix uṇ and its relatives. Usually attributed to Śākaṭāyana, which is disputed. Five quarters.
748 sūtras →लिङ्गानुशासनम्6. LiṅgānuśāsanamThe rules of grammatical genderRules that say which nouns are masculine, feminine or neuter, grouped under headings for each gender. Attributed to Pāṇini.
189 sūtras →फिट्सूत्राणि7. PhiṭsūtrāṇiThe accent of nominal stemsRules for the Vedic accent of noun stems (phiṭ is their word for a stem). Attributed to Śāntanava, not to Pāṇini. Four quarters.
87 sūtras →परिभाषाः8. ParibhāṣāḥThe rules about rulesThe maxims by which the rules are read and applied when the text itself is silent, as collected and ordered by Nāgeśa Bhaṭṭa in the Paribhāṣenduśekhara (early 18th century). Only the maxims are given here, not his commentary.
133 maxims →वाक्यपदीयम्9. VākyapadīyamBhartṛhari on the sentence and the wordBhartṛhari's verses on the philosophy of grammar (about the 5th century CE), in three books (kāṇḍa): on Brahman as word, on the sentence, and on the word and its categories. The grammar's answer to what meaning is.
1,997 verses →The commentaries
Kātyāyana's vārttikas and Patañjali's Mahābhāṣya, the Kāśikā of Jayāditya and Vāmana, and Bhaṭṭoji Dīkṣita's Siddhāntakaumudī, which rearranges the rules by topic. The series The Machine Arrived Late tells how these commentaries corrected the grammar and kept it alive.
The texts are taken from the data of ashtadhyayi.com (version db9a7f1 2026-11-19), with thanks, and given in IAST by machine transliteration. The descriptions are mine. A mistake in a text can be reported through the contact page.