3 ms·
It seems to me that "can compile itself" is going to be extra work. That is: You specify a language. You write a compiler for that language in that language.
by AnimalMuppet 13y ago
It seems to me that "can compile itself" is going to be extra work. That is: You specify a language. You write a compiler for that language in that language. But you can't compile the compiler, since you don't have the compiler yet. So you have to write the compiler in some other language that already has a compiler.
Note that this does not apply if you are writing something like a C compiler, because there are already C compilers out there.