Haxe is very much a games language, it started out (IIRC) as an ActionScript compiler by a game studio (Motion Twin, now most famous for Dead Cells) who was sick of trying to program in the shitty bare-minimum editor built into Flash, and evolved into its own language that compiled to the Flash plug-in’s VM. Motion Twin released it and its support tools as open source, and a lot of other Flash game devs picked it up.
Interesting. I don’t do any games development so outside the small amount I know about from watching various AAA games being discussed I’m pretty ignorant.