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 2,705 of 2,753   
   Andy to All   
   How detect grammar not derive nontermina   
   11 Sep 23 08:58:17   
   
   From: borucki.andrzej@gmail.com   
      
   The simplest this case is grammar :   
   A -> A   
      
   but I have   
      
   A -> B   
   A -> b B   
   B -> A   
   B -> a A   
      
   it is trap for sequence generator. A->B->A->B->A....   
   How detect similar cases, especially without computing First and Follow sets ?   
      
   --- 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