text: By the time the Chinese sage , Hiuen Tsang , came here in the seventh century , it was a thriving university for teaching philosophy , logic , grammar , medicine , and Buddhist theology .
  
  ###
  
  The university teaches philosophy , logic , grammar , medicine , and Buddhist theology .