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
  • 73,212
  • 30
  • 182
  • 400
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
  • 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