Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
"The language would be encoded as Finite automaton". Finite automata would "encode" only regular languages. How would you encode non-regular languages? Non-CF, non-r.e languages? But as far as I understand your decider takes any language and decides if that language is regular, right?