Sign in

Pāṇini's Sanskrit grammar

c. 400 BCEBig moment

A rigorous, rule-based grammar that anticipates ideas in modern linguistics and computer science.

The story

Pāṇini was a scholar who lived in northwestern India around 400 BCE, perhaps near modern Peshawar, and wrote the Ashtadhyayi (eight chapters), a grammar of Sanskrit. It contains nearly 4,000 short rules, called sutras, that generate the correct forms of Sanskrit words and sentences. It is widely regarded as the most complete and precise description of a language from the ancient world.

The Vedic hymns had to be preserved and recited without error, and the language of the Vedas was changing, so scholars studied sounds, word forms and meaning. Earlier grammarians existed, as Pāṇini cites many, but his work superseded theirs. He worked through the language with an economy of expression that is unusual even today: rules are compressed into a few syllables, with abbreviations and markers that stand for sets of sounds, so that the whole grammar could be memorized and recited like the Vedas.

What sets it apart is that it works like a system. Rules apply in an order, with exceptions, and are written to produce words from roots and endings, much like a program creating output from input. Linguists in the 19th century were struck by its descriptive method, and it influenced modern structural linguistics, including Ferdinand de Saussure and Leonard Bloomfield. Some computer scientists have noted a resemblance between Pāṇini's notation and formal grammars such as the Backus-Naur form. Later scholars, such as Katyayana and Patanjali, wrote commentaries, and Pāṇini's grammar fixed classical Sanskrit, which remained stable for over two thousand years.

Why it mattered

  • Sanskrit was fixed as a classical language, and its literature stayed readable across centuries.
  • Indian linguistics became a model for later study of sound and structure.
  • Modern linguistics, from the 19th century on, drew inspiration from his methods.
  • Formal language theory in computer science has been compared to his rule system.

Drafted by AI (Claude) from the sources above and checked against them by AI; no historian has reviewed this page. Spot a mistake? Suggest a correction. How pages are made

Community notes

Loading notes…

Learn more ranked by votes

Documentbritannica.com
Panini (Britannica)
Editor's pick
BookGeorge Cardona
Panini: His Work and Its Traditions
Search Open Library
VideoSearch YouTube
Panini Sanskrit grammar Ashtadhyayi
Search YouTube