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,007 of 2,753   
   glen herrmannsfeldt to Chris F Clark   
   Re: A Grammar Writing Question   
   26 Jul 07 21:45:28   
   
   From: gah@ugcs.caltech.edu   
      
   Chris F Clark wrote:   
      
   (snip regarding C++ parsing)   
      
   >  Worse, I think that some of the devious examples he came up with   
   > required not only semantic input (i.e. which identifiers were   
   > declared as what coming into the sequence), but could change which   
   > identifiers were being declared (as well as what they were being   
   > declared as).   
      
   I am not so sure what features you are considering, but typedef does   
   complicate the separation of lexing and parsing.  Do you have any   
   examples of the ambiguous cases?   
      
   -- glen   
      
   --- 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