Interpreter
ELI5 — The Vibe Check
An interpreter reads your code and runs it line by line in real time, like a live translator at a conference. There is no separate 'translation step' before running — it just goes. Python and JavaScript (in browsers) use interpreters, which makes them slower but easier to iterate with.
Real Talk
An interpreter is a program that executes source code directly, parsing and running it statement by statement without producing a standalone binary first. This enables rapid development cycles since there is no compile step. Python, Ruby, and PHP are classic interpreted languages. Modern interpreters use JIT (Just-In-Time) compilation to reach near-compiled speeds.
Show Me The Code
# Python interpreter runs code directly:
python3 hello.py
# You can also use it interactively (REPL):
python3
>>> print("Hello")
Hello
>>> 2 + 2
4
When You'll Hear This
"Python has an interpreter so you can test snippets instantly." / "The interpreter throws errors at runtime, not before."
Related Terms
Compiler
A compiler is like a translator that reads your entire code book, converts it all into a language the CPU understands, and hands you the finished translate...
Dynamic Typing
Dynamic typing is like a box that can hold anything — toys, food, or a cat — and you don't have to label what goes in it ahead of time.
Runtime
Runtime is the environment where your code actually runs.
Script
A script is a file full of commands that run automatically one after another, so you do not have to type them all yourself.