Conceptself-hosting
Compiler Bootstrapping
Writing a compiler for a language in that language itself. The first stage typically implements a bootstrap compiler in another language, after which a new version is written in the target language. The core challenge is trust propagation: ensuring semantic consistency before and after bootstrapping.
Timeline (last 90 days)
Sep 10
The compiler bootstrapping process is typically divided into three stages: Stage 0 uses an existing compiler to compile the new compiler source code, Stage 1 compiles again using the Stage 0 output, Stage 2 compiles a third time using the Stage 1 output, and if the Stage 1 and Stage 2 outputs are identical, the compiler is considered stable
Unverified50%