COMPILER & INTERPRETER
When a software program translates computer code written
in one programming language into another language, we can call it a ‘compiler’.
The process of translation is called compilation. Compilers are an essential
tool for software developers, as they allow them to write code in a high-level
programming language that is easier for humans to read and understand, and then
convert that code into machine language that can be executed by a computer.
An interpreter is a software program that executes
instructions written in a programming or scripting language. Unlike a compiler,
which translates source code into machine code that can be executed directly by
a computer, an interpreter reads and executes the instructions in the source
code one line at a time.