home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 970 of 2,753   
   Tomasz Kowaltowski to All   
   Re: What is the complement of context fr   
   09 Jun 07 08:52:08   
   
   From: tk@ic.unicamp.br   
      
   > In many text books, they say that the complememt of context free   
   > language us not context free language .  But they do not say the   
   > complemet of CFL is context sensitive language or Recursively   
   > enumerable language ? So what is the language of the complement of   
   > context free language?   
      
   The complement of a CFL is obviously not only recursively enumerable but   
   also recursive. Given a CF grammar G, it is easy to imagine a Turing   
   machine which checks if a given input string belongs to L(G); if so,   
   reject reject the input, if not, accept it.   
      
   -- tk   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca