Can Sanskrit work as a natural programming language?
I’ve been experimenting with this idea by building a Sanskrit compiler based on Pāṇinian grammar.
Instead of treating Sanskrit only as text to interpret, the compiler parses grammatically structured Sanskrit and turns the instructions into executable operations.
The interesting part for me is whether Pāṇini’s formal grammatical system can provide enough structure to bridge natural language and programming languages deterministically.
I now have a working implementation and would be interested in hearing what others think about this approach.
Website: https://panini.cc/