Context-free Language - Properties of Context-free Languages

Properties of Context-free Languages

  • The reverse of a context-free language is context-free, but the complement need not be.
  • Every regular language is context-free because it can be described by a context-free grammar.
  • The intersection of a context-free language and a regular language is always context-free.
  • There exist context-sensitive languages which are not context-free.
  • To prove that a given language is not context-free, one may employ the pumping lemma for context-free languages or a number of other methods, such as Ogden's lemma, Parikh's theorem, or using closure properties.
  • Context Free Languages are closed under Union, Concatenation, and Kleene star.

Read more about this topic:  Context-free Language

Famous quotes containing the words properties of, properties and/or languages:

    A drop of water has the properties of the sea, but cannot exhibit a storm. There is beauty of a concert, as well as of a flute; strength of a host, as well as of a hero.
    Ralph Waldo Emerson (1803–1882)

    A drop of water has the properties of the sea, but cannot exhibit a storm. There is beauty of a concert, as well as of a flute; strength of a host, as well as of a hero.
    Ralph Waldo Emerson (1803–1882)

    It is time for dead languages to be quiet.
    Natalie Clifford Barney (1876–1972)