Complex sentence: HSP is used to teach programming in Japanese schools, and because it is freeware, it was a popular programming language for doujin soft in the late 1990s.
Split into simpler sentences: HSP is used to teach programming in Japanese schools. Because it is freeware, it was a popular programming language for doujin soft in the late 1990s.