Are compilers written in assembly?

Ẽm Thư

New member
Are compilers written in assembly?
Answer
There is a front end for C, C++, Fortran, Ada, and probably others. Each one is compiled into the same intermediate language, which is then compiled into architecture specific assembly language. If the compiler is written in the same language as the one it’s compiling, the compiler is called self-hosting.
 

Tìm kiếm

Back
Top