In 500 BC a grammarian named Pāṇini wrote what amounts to a BNF of Sanskrit, wit...

@rk@well.com

In 500 BC a grammarian named Pāṇini wrote what amounts to a BNF of Sanskrit, with term rewriting rules and formal precedence and a *goddamn meta language describing the grammar*.

How in the fuckity hell did I not know about this. I’m going to have to learn Sanskrit now this is amazing, truly incredible.

#compilers #sanskrit