Once you get enough features in a programming language, you can write your own compiler by simply treating the compiler as a program that accepts “specific formatted” input and writes out “specific formatted” output.
In other words, there is no dependence on the language in which the compiler is implemented and the language that it compiles. Without dependence, this does not require the same from him. And he does not need to be different.
The original compiler is not explicitly written in Java. It was written in C; however, it is possible to have strong documentation and just write the “compiled code” using a hex editor if you really want the bootstrap method step by step. While it is possible to bypass the download, boot loading is recommended, because writing object code in a hex editor is incredibly expensive and error prone.
source share