if you want to write a C compiler in C, you also have to compile it with a C compiler.
That's the reason why the very first C compiler was written in assembler.
C compiler can be written in C. then How does the compiler get compiled?
First C compiler was written in assembly language.
Reply:the first c compiler was written in a low level language....It was a basic system without any optimizations(i dont know if any function call provisioning was there).Then they used it as the base and wrote more functionalities,and more and more....
magnolia
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment