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 801 of 2,753   
   Hans-Peter Diettrich to moop   
   Re: Parser Generated vs. Hand Written Pa   
   26 Sep 06 01:05:15   
   
   From: DrDiettrich1@aol.com   
      
   moop wrote:   
      
   > PGs have a great convenince over hand written parsers, but they also   
   > slow in speed and hard to read the generated code. I wonder besides   
   > these two obvious factors, what else hand written parsers are better   
   > than PGs? Thank you!   
      
   I think that you mean recursive descent parsers, when you mention hand   
   written parsers. These parsers typically correspond to LL(k) grammars   
   (k ~1), with the according restrictions vs. LR(k) grammars and   
   generated bottom-up parser automatons.   
      
   DoDi   
      
   --- 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