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 803 of 2,753   
   Tom Copeland to Scott Nicol   
   Re: Parser Generated vs. Hand Written Pa   
   28 Sep 06 22:49:55   
   
   From: tom@infoether.com   
      
   On Tue, 2006-09-26 at 01:07 -0400, Scott Nicol wrote:   
   >  PGs also help in detecting ambiguities in a   
   > grammar.   
      
   PGs also let you generate a parser with lots of debugging info in it,   
   and once you've fixed any problems you can regenerate the parser   
   without all that noise.   
      
   Another advantage (for JavaCC, at least) is that you can generate a   
   parser that targets a particular language version.  For Java, this   
   means being able to generate a parser that uses generics internally if   
   you're running in JDK 1.5.   
      
   Yours,   
      
   Tom   
      
   --- 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