New research published in the Journal of Archaeological Science has utilized advanced AI to perform a structural analysis of the Pratishakhya, ancient Sanskrit treatises on phonetics and linguistic production. The study identified the earliest known implementation of 'context-free grammar' (CFG), a formal mathematical structure that serves as the foundation for modern computer programming languages.
The findings indicate that ancient Indian scholars had formalized recursive linguistic rules over 1,500 years before Noam Chomsky's work in the 20th century. By mapping the hierarchy of these rules, the research team demonstrated how Sanskrit grammarians were able to generate infinitely complex phonetic variations using a finite set of recursive algorithms, bridging the gap between ancient oral traditions and modern computational theory.