Questions about compilers...

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
1382

Questions about compilers...

Post by 1382 »

Can we write a compiler entirely in C or we have to use mixed Assembler & C?  Thanks.
Chase

RE:Questions about compilers...

Post by Chase »

The compiler itself you could write in just C but at some point you'll have to do asm. It's all a matter of where your standard C libary ends and your OS starts....

-Chase
Khumba

RE:Questions about compilers...

Post by Khumba »

Yes, the compiler can be totally in C, it only has to translate your language into asm (or binary).
Post Reply