Over two millennia scholars produced a huge literature of commentaries to explain how the rules of Sanskrit grammar work. Alternative schools developed, to provide easier access to the classical language and to create authoritative texts for groups with distinct religious or social identities.