It is weird how AI has a lot to do with programming language theory. Everything is always blending together in the formal sciences. The actual boundaries between topics are nuanced.
It is kind of like the feeling that math is all one subject, even though to an undergrad something like analysis and algebra might feel miles apart.