New answers tagged

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