How could the first C++ compiler be written in C++?
The most interesting thing that makes me wonder is the fact that its compiler writen in TypeScript itself.
Call me ignorant but I really couldn't figure out in my head how that is possible. This is just like chicken and egg problem in my head because there is no compiler to compile TypeScript's compiler in the first place. How is it possible to write a compiler of the compiler of a programming language with that language?