Compiler vs. Interpreter

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

Easy:

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.

Write a Reply or Comment

Your email address will not be published.