About Lesson
Compiler
A compiler is like a translator that reads the entire program in one go and then writes it down in a language the computer understands.
Interpreter
On the other hand, an interpreter reads the program step by step, translating each step into the computer’s language as it goes.
The interpreter translates each high-level program instruction
to the equivalent machine language instruction and executes it.