Nuacht

Compiler The complete source code of a program produced in a high-level programming language is simultaneously translated into machine code (binary code) by a compiler, a specialized tool.
Writing a compiler seems like a much harder problem than an interpreter. If that is so, why was the first compiler written six years before the first interpreter?