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,486 of 2,753   
   Hans-Peter Diettrich to Adem   
   Re: Writing a C++ compiler in C++   
   28 Oct 08 17:39:36   
   
   From: DrDiettrich1@aol.com   
      
   Adem schrieb:   
   > Any projects out there which aim to write a real or experimental   
   > C++ compiler or interpreter using the C++ language itself?   
      
   Most C++ compilers are based on C, because it's hard enough to make C   
   programs run on multiple platforms. Using C++ will increase that   
   incompatibility again.   
      
   AFAIK gcc will be compiled three times, until the compiler is usable on   
   a different platform. The bootstrap process uses the C compiler of the   
   platform for the first compilation, then the created compiler to compile   
   itself in a restricted version, and that compiler to produce the final   
   version. Unless you restrict your project to compile with one specific   
   C++ compiler, you'll have to bootstrap your compiler in a similar way.   
      
   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