In programming there are 2 types of languages, interpreted languages and compiled
Python and JavaScript are examples of interpreted languages
How do interpreted languages actually work?
Interpreter Built
Interpreters are often made in languages that can be compiled.
For example:
- The JS interpreter is made in C++
- The Python interpreter is made in C
At the end of the day an interpreter is an executable that take the file you’re attempting to execute as a parameter
So (as taught in ECE 222 and CS 241)
When you run a python script you usually run a command:
python3 main.py