Compiler vs. Interpreter

What’s the difference between writing a compiler and writing an interpreter?


Writing an interpreter is like reading an instruction manual and performing the steps.

Writing a compiler is like reading an English instruction manual, translating it into German, and handing it to a German person to execute the steps.