A History of Sanskrit Literature by MacDonell, Arthur A.
 is a Project Gutenberg book, now on Github.