Interpreters

An interpreter reads source code and translates it one line at a time into machine code to be executed on the CPU. Once the machine code instructions have been executed, the next line of source code is then translated, and so on.

To run a program that is written in an interpreted language the computer it runs on must have the interpreter installed.

interpretered Langauges include: Python, JavaScript, PHP, and Ruby.

In order for a user to run an interpreted program the user must have the source code. This means that the user will have access to change the source code and could copy it. 

Interpreted Langauges tend to be highly portable, and can be ran on a computer system providing the interpreter is available for the specific hardware.

Due to interpreter programs being translated like by line, the programs tend to be less performant and are not used in applications which require higher performance.

Interpreted Langauges are easier to debug because the program will crash as they are translated at the line of source code where there is an error.


Included in the following specifications:
Edexcel GCSE Computer Science