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 1,419 of 2,753   
   Carter Cheng to All   
   Algorithm for computing first-k follow-k   
   23 Aug 08 10:52:34   
   
   From: cartercheng@gmail.com   
      
   Hello,   
      
   This is probably pretty elementary but I havent been able to locate a   
   method to compute first-k follow-k sets (i.e. the k terminals derived   
   from a symbol or following that symbol) efficiently for a grammar.   
   Most textbooks only seem to cover the k = 1 case. Are there references   
   out there which contain how to compute the generalization to k > 1?   
      
   Thanks in advance,   
      
   Carter.   
      
   --- 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