History of Compiler Construction - Self-hosting Compilers

Self-hosting Compilers

Not to be confused with Compiler compiler.

Like any other software, there are benefits from implementing a compiler in a high-level language. In particular, a compiler can be self-hosted – that is, written in the programming language it compiles. Building a self-hosting compiler is a bootstrapping problem, ie. the first such compiler for a language must be either hand written machine code or compiled by a compiler written in another language, or compiled by running the compiler in an interpreter.

Read more about this topic:  History Of Compiler Construction