+ 2
What is interpreter?
3 Answers
0
An interpreter is a program that reads code one line at a time, decides what that line is trying to do, and gives the appropriate output.
For example, if an interpreter read this:
print(âhelloâ);
Assuming that this is the correct syntax, here is what would happen:
Keyword: print
Parameters: âhelloâ
Output: hello
Then it goes on to repeat this process with the next line.
+ 15
According to google:
1.
a person who interprets, especially one who translates speech orally or into sign language.
synonyms:translator, transcriber, transliterator, decipherer; More
2.
COMPUTING
a program that can analyse and execute a program line by line.
It's basically like code playground here on SoloLearn. It analyses each line of your code and does what the code says it should do.
- 1
It's also a pattern in OOP to handle syntax trees.