3

I am trying to prove that every finite language is context-free, is there any type of way that I could do it effectively?

Raphael
  • 72,336
  • 29
  • 179
  • 389
Heniam
  • 63
  • 1
  • 7

2 Answers2

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
  • 14,826
  • 5
  • 42
  • 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