अष्टाध्यायी - 2


This article is my key take away points from PythonKrit workshop, at Samskrit Bharti Bangalore during March 2025

Dr. Amba Kulkarni explains how ASHTADHYAYI by sage PAANINI is similar to computer programming and compiler design 

https://sanskrit.uohyd.ac.in/faculty/amba/ and https://www.sanskritstudiespodcast.com/1759898/episodes/12324157-16-amba-kulkarni-sanskrit-and-computers

ASHTADHYAYI is also Algorithm and Data structure. Class/Object has data and function. Paanini's DHTAATU list has name of DHAATU and "इत् प्रत्यय". Here "इत् प्रत्यय" indicates, which operation to be performed. We know the challenges with multiple inheritance in Object Oriented Programming. Prof. Ashvini Bhave shows how TADDHITTA indicates single inheritance. 

Sage PAANINI introduced a new data structure SHIVA-SUTRA. He rearranged all character and did slicing then perform Boolean operation that input character belongs to given list or not, given input set of character is subset or not. 

Meta language itself is part of ASHTADHYAYI .

Three types of rules

1. regular rules

2. context free rules

3. context sensitive rules

We use regular expression * for beginning AADI , UPAADHAA for set of characters in middle with [] and $ for end of line (ANTHA). 

We know yacc and bison tools are for context free grammar. If we write all PAANINI rules as per syntax of yacc and bison then we can analyze the complexity of PAANINI's ASHTADHYAYI  grammar. There are few non-formal aspects in ASHTADHYAYI, as it was written to understand by human brain, not by computer. 

Sage PAANINI was about 1500 years ahead of time compare to today's computing power.

Rules are like event in programming. To understand grammar one of the rule shall be evaluated, it is like firing an event. 

ANUVRUTI is similar to factorization in Maths. 

Dr. Saroja Bhate explained (1) what is role of aakanksha in deciding anuvruti and 
fundamentals of anuvruti

Compression in Sanskrit grammar. Sage PAANINI compressed LAGHU SIDDHANTA KAUMIDI with help of VRUTI to 1/3 size and wrote ASHTADHYAYI

yathodasa is like Interpreter and karyakala is like compiler

abhidha, laxana and vyanjana are 3 powers of words. Not sure, when today's LLM will understand them. 

MAHAA-BHAASHYA learning is better than learning ASHTADHYAYI.

Dr Srinivas Varkhedi has strong opinion that, Sanskrit scholar already knows computer science concepts and programming with knowledge of Sanskrit grammar. In future, we will not have trust our car. As it might be hacked by AI tools. So we will travel by bullock cart, because bullocks listen to us, car may not. AI tools cannot hack bullocks. 

Today's LLMs are fed against SANAATANAA DHARMA. It is difficult to erase. They are biased against SANAATANAA DHARMA. We know that, it is difficult to re-train our kids who studied in school/college. Then retraining LLMs is even more difficult. The current generation will use AI and they may be against SANAATANAA DHARMA in future. So we need 1000 Sanskrit students who can say what is right and what is wrong about SANAATANAA DHARMA with authenticity. 

Reference:

Slides: https://web.stanford.edu/~kiparsky/Papers/paris.pdf and Stream rtsp://stream-serv.inrialpes.fr/Roc/Symposiums_2007/Sanskrit291007B_Gillon.rm by Paul Kiparsky

https://ashtadhyayi.com/

The entire data that powers https://ashtadhyayi.com  https://github.com/chaitanya-lakkundi/ashtadhyayi-com-data/

https://github.com/chaitanya-lakkundi/ashtadhyayi-commentaries/

https://drdhaval2785.github.io/siddhantakaumudi/

https://github.com/drdhaval2785/siddhantakaumudi

https://en.wikipedia.org/wiki/Mahabhashya

https://sanskrit.uohyd.ac.in/

Books

https://en.wikipedia.org/wiki/Algorithms_%2B_Data_Structures_%3D_Programs

https://www.sushmajee.com/reldictionary/literature/grammar/sanskrit-grammar.htm

Books: https://www.ebharatisampat.in/

https://www.amazon.com/Vaiyakaran-Siddhant-Kaumudi-Set-Volumes/dp/B00LND3A5U

Papers

https://www.jainfoundation.in/JAINLIBRARY/books/panini_and_euclid_reflections_on_indian_geometry_269453_hr6.pdf

https://sanskrit.inria.fr/Symposium/Program.html

https://upenn.academia.edu/Cardona

https://independent.academia.edu/SarojaBhate

YouTube / Videos: 

https://www.youtube.com/ashtadhyayi

https://www.youtube.com/playlist?list=PLxPxgIW05q49w0453x8iDZpfv0fNH8ujK

https://www.youtube.com/watch?v=gs0c4UXgM8M

https://www.youtube.com/@prasarbharatisanskrit

https://www.sanskritstudiespodcast.com/1759898

https://www.youtube.com/watch?v=7X5uqiODNPw&list=PLEKLkZ5fxeD0Xt4TKUwAkiRVw_AUV3y_X

https://www.youtube.com/watch?v=_OkzIE61EMg

https://www.youtube.com/watch?v=AGPfSgVqb78

https://www.youtube.com/watch?v=9tndwY-pJAk&list=PLeCoRXpRAy9iK1CTKseX_Vgg9-RcV-Uql

0 comments:

Post a Comment