I am trying to prove that every finite language is context-free, is there any type of way that I could do it effectively?
Asked
Active
Viewed 3,384 times
2 Answers
2
It's not hard to show that every finite language is regular. If you know that every regular language is also context-free, you're done.
Rick Decker
- 15,016
- 5
- 43
- 54
-3
Every finite language is Regular. ( Because we can construct a finite automata for it )
Every regular language is cf. ( Because regular language is subset of cf )
Hence proved.
Rimmi
- 1