Synthesis and hypoglycemic activity of 7,8-dihydro-6H-thiopyrano[3,2-d]pyrimidine derivatives and related compounds.