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,571 of 2,753   
   Mike Burrell to marco.m.petersen@gmail.com   
   Re: Is Assembler Language essential in c   
   10 Feb 09 10:15:00   
   
   From: mburrel@uwo.ca   
      
   On 2009-02-09 05:34:36 -0500, marco.m.petersen@gmail.com said:   
      
   > I mean, if you wrote a program that converts code from BASIC to C++   
   > then calls another compiler to do the compilation process, wouldn't   
   > that be considered as a compiler?   
      
   It depends on what you want to get out of your compiler. A lot of   
   compilers, especially when they're in the proof-of-concept stage, will   
   target another language, such as C. If your primary goal in writing   
   the compiler isn't to worry about the back-end stuff (register   
   allocation and all those fun things), then it's easier to just target   
   C, and you get portability to boot.   
      
   You will be limited in what you can do if you aren't familiar with   
   assembly, though.   
      
   Cheers,   
   Mike   
      
   --- 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