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 2,565 of 2,753   
   minforth@arcor.de to All   
   Re: Supporting multiple input syntaxes   
   13 Aug 20 14:15:09   
   
   Am Donnerstag, 13. August 2020 00:32:56 UTC+2 schrieb luser droog:   
   > I've got my project successfully parsing the circa-1975 C syntax   
   > from that old manual. I'd like to add parsers for K&R1 and c90   
   > syntaxes.   
   >   
   > How separate should these be? Should they be complete   
   > separate grammars, or more piecewise selection? ...   
      
   Why not settle for one master dialect and use awk to translate between   
   dialects?   
      
   [Probably because there is a great deal of C code written to comply with   
   the various versions of the standard, users want error messages that match   
   the code they wrote rather than some intermediate code, and it would be quite   
   an awk program that could reconcile all the differences among C flavors. -John]   
      
   --- 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