For anyone who'd want to know more, this is the textbook I used in a CS theory class where I first learned about the Chomsky connection: Introduction to the Theory of Computation by Michael Sipser (https://www.amazon.com/dp/113318779X/ref=rdr_ext_tmb).
(Edit: added the title and author name in my post)
(Edit: added the title and author name in my post)