I know this is old, but given that I cannot comment (rep), I want to add an explanatory answer:
The interpreter is used to interpret the script (be it VBScript, javascript, python or any other script) into separate instructions. These instructions can be in the form of machine code or an intermediate representation (which the OS or other program can use). Some interpreters are made for something closer to assembler, and the source code is more or less directly executed.
Most modern scripting languages ββ(e.g. Python, Perl, Ruby) are interpreted as an intermediate representation, as well as an intermediate representation and compiled code (aka machine, aka object). An important difference (vs compiled languages) is that the interpreter does not accept the entire code of the code and translates its value into machine code, it takes each line at a time and interprets its value as a standalone block.
Think of it as the difference between translating an entire essay from English to Russian (compiled code) versus accepting each sentence in an essay and translating it directly (interpreted code). You can get a similar effect, but the result will not be identical. More importantly, the translation of the entire essay as a total amount of work requires much more effort than the implementation of a single sentence while a separate unit, but the entire translation will be much easier for Russian speakers to read than the rather clumsy sentences-licensed version. Therefore, the tradeoff is between compiling code and interpreting code.
Source: https://en.wikipedia.org/wiki/Interpreter_(computing) , experience
Keith
source share