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,524 of 2,753   
   Robert A Duff to Gene   
   Re: Has anyone hand-written a scanner/pa   
   23 Nov 08 17:30:21   
   
   From: bobduff@shell01.TheWorld.com   
      
   Gene  writes:   
      
   >... The Ada front end of gcc is   
   > entirely hand-written, recursive descent.   
      
   Yes, and the GNAT Ada front end has just about the best syntactic   
   error recovery and syntax error messages I have ever seen in any   
   compiler.   
      
   >... Perl uses yacc (at least through v5) but with a hand-written   
   > tokenizer. Python seems to generate its own parser from a grammar   
   > during startup. Yada yada. At least for production compilers, it's   
   > more of a mixed bag than you infer.   
      
   Yes, it's mixed bag.  There are advantages and disadvantages to   
   either approach.   
      
   - Bob   
      
   --- 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