2 ms·
You're essentially asking why someone would write a compiler. Why wouldn't someone consume target language X directly instead of using a compiler to generate ou
by bascule 14y ago
You're essentially asking why someone would write a compiler. Why wouldn't someone consume target language X directly instead of using a compiler to generate output in target language X. We want our programs to wind up as machine language, so why not write opcodes for the host ISA instead of writing in, say, any other language?