Vedic Sanskrit is the language of texts compiled in the 3rd millennium BCE .
It is the ancient language of the Vedas of Hinduism , texts compiled over the period of the mid-2nd to mid-1st millennium BCE .