0
Python uses interpreter?
As in sololearn's Python course topic 'basic concepts ' says that python is on time runned by interpreter.No need to compile but in python we can both interperete and compile in its IDLE. If anyone thinks that i don't know about compiler and interpereter please tell me about that also
5 odpowiedzi
+ 1
Compiler converts user program to machine code and checks for syntactic error prior executing. implemented in C / C++. Interpreter Converts user program to machine code during run time. Meaning there is no way to check for errors unless you start running the program. Java on the other hand uses both compiler and interpreter. Java compiler checks for syntactic errors while the interpreter(Google JIT) Converts the compiled code into executable based on the machine architecture it is running on. It's a deep topic. python uses interpreter, the compiler feeling that you get while using IDLE is because IDLE is an IDE (Integrated Development Environment). Hope I made sense.
0
Python is an interpreted language - it uses interpreter and needs no compiler.
0
it means compiler is created using C/C++ and interpreter using JAVA?
0
Compilers are created using Lex and Yacc. I just mentioned C /C++ and Java to illustrate where compiler is used and interpreter is used.
0
Oh thanks now I had understood