Sanskrit’s grammar, codified by Panini in the ‘Ashtadhyayi’, is incredibly rule-bound, unambiguous, and algorithmic. Researchers in artificial intelligence have noted its structural perfection for computational linguistics.