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,819 of 2,753   
   Stephen Horne to All   
   Re: Infinite look ahead required by C++?   
   14 Feb 10 00:10:50   
   
   From: sh006d3592@blueyonder.co.uk   
      
   On Thu, 11 Feb 2010 12:20:42 +0000, Martin Ward    
   wrote:   
      
   >In this sense, C++ is not "hard to parse". (I can crack   
   >this nut easily using my Acme Steam-Powered Sledgehammer :-))   
      
   Easy in principle, maybe, but something can be "hard" simply because   
   of the quantity of rules and special cases you need to cope with. You   
   still have to account for every single rule in your grammar   
   specification.   
      
   >(3) It's hard for *human beings* to parse this language.   
      
   I agree, that is a big C++ issue, especially with templates -   
   essentially a kind of broken Haskell hacked onto C++ so that   
   metaprogramming is done with a completely different sublanguage than   
   that used for normal programming.   
      
   --- 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