Around 500 BCE, the grammarian Pāṇini completed the Ashtadhyayi, a comprehensive Sanskrit grammar consisting of nearly 4,000 sutras (rules). This systematic work codified the phonetics, morphology, and syntax of Classical Sanskrit with unprecedented precision. Organized into eight chapters, it distinguished between common usage and sacred texts while establishing linguistic standards that would govern Sanskrit for centuries. The Ashtadhyayi's impact extended beyond language to influence logic, mathematics, and even modern computational linguistics with its rule-based formalism.