In fact it was generative. In that, you could not speak the language for 1000 years and still generate all valid strings that can be thought of as members of the language
Why isn't that trivially true of all languages? You can generate infinitely many valid strings of arbitrary length in any grammar. How's that special about Sanskrit?