Like we say that compiler of C is written in C. How is that possible? How the 'c' language code of compiler will be translated to executable? <br><br>
<g><br><br>You start by writing a (very simple) compiler for C in assembler then, using the compiler you've just written - write a better one -- and so on...<br><br>oh - and *don't* think I've actually done this - much too much like hard work <p>Mike<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href=
Cargill's Corporate Web Site</a><br>Please don't send me email questions without posting them in Tek-Tips as well. Better yet -- Post the question in Tek-Tips and send me a note saying "Have a look at so-and-so in the thingy forum would you?"
Yes as mentioned by Mike. The compiler is developed in the same way.<br> <p>Siddhartha Singh<br><a href=mailto:siddhu_singh@hotmail.com>siddhu_singh@hotmail.com</a><br><a href=siddhu.freehosting.net> </a><br>
As many of us know (or have read or been told), this is exactly how Dennis Richey did it when he wrote the C compiler. Umm, well, actually, he had B to start from, but it's the same idea. <p>Octalman<br><a href=mailto: > </a><br><a href= > </a><br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.