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 861 of 2,753   
   George Neuner to bobduff@shell01.TheWorld.com   
   Re: Generating a simple hand-coded like    
   19 Dec 06 01:03:55   
   
   From: gneuner2@comcast.net   
      
   On 17 Dec 2006 22:08:37 -0500, Robert A Duff   
    wrote:   
      
      
   >Has anyone ever tried to solve these C / C++ parsing problems without   
   >"feedback"?   
      
   Construct analysis never has to be done by the parser, it can always   
   be deferred to a later stage.  Feedback to the parser simply allows   
   early exclusion of impossible alternatives.   
      
   >My question is: can that technique work for the above C and C++   
   >ambiguities?  Does it make the problem easier or harder?  Is the   
   >answer different for C++ than for C?   
      
   It can make the parser simpler - or not, depending on how you choose   
   to construct the IR - but adds a disambiguation step afterward which   
   must rewrite the generic IR into a specific one.   
      
   George   
      
   --- 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