Paper 1, Section I,
Part II, 2017
(a) Prove that every regular language is also a context-free language (CFL).
(b) Show that, for any fixed , the set of regular expressions over the alphabet is a CFL, but not a regular language.
Paper 1, Section I,
(a) Prove that every regular language is also a context-free language (CFL).
(b) Show that, for any fixed , the set of regular expressions over the alphabet is a CFL, but not a regular language.