New answers tagged interpreters
2
I mean how the interpreter executes a code without translating it into
machine code.
There is a fuzzy line between interpreters and compilers, but the basic idea is this:
If it is translated into machine code before being executed, it is probably a "compiler".
If it is translated into machine code while being executed, it is probably an "...
3
I mean how the interpreter executes a code without translating it into machine code
TL;DR It's the interpreter's (machine) code that executes your program's code.
To explain it better, consider these lines taken from your example:
def sub(a,b)
print(a-b)
I think you got this point wrong: when you write x-y in an interpreted programming language it's ...
Top 50 recent answers are included
Related Tags
interpreters × 37compilers × 17
programming-languages × 14
formal-grammars × 3
type-checking × 3
regular-expressions × 2
syntax-trees × 2
algorithms × 1
complexity-theory × 1
computability × 1
reductions × 1
reference-request × 1
computer-architecture × 1
operating-systems × 1
lambda-calculus × 1
computation-models × 1
distributed-systems × 1
parsers × 1
graph-traversal × 1
functional-programming × 1
polynomial-time × 1
parallel-computing × 1
first-order-logic × 1
semantics × 1
matching × 1