who wrote a famous treatise on sanskrit grammer
Pāṇini Pāṇini is known for his text Ashtadhyayi, a sutra-style treatise on Sanskrit grammar,[6][1][2] 3,959 "verses" or rules on linguistics, syntax and semantics in "eight chapters" which is the foundational text of the Vyākaraṇa branch of the Vedanga, the auxiliary scholarly disciplines of the Vedic period.[8][9][10] His aphoristic text attracted numerous bhashya (commentaries), of which Patanjali's Mahābhāṣya is the most famous in Hindu traditions.[11][12] His ideas influenced and attracted commentaries from scholars of other Indian religions such as Buddhism.[13]