How programming language is working?

 How programming language is working?


programming language work by two things.they are

     ◭  interpreter 

    ◭  compiler


 interpreter 

Interpreter translates just one statement of the program at a time🕘 into machine code.

An interpreter takes very less time🕘 to analyze the source code.


 compiler

Compiler scans the entire program and translates the whole of it into machine code at once.

A compiler takes a lot of time🕘 to analyze the source code. 


Interpreter - Python, Ruby, Lua, JavaScript, PHP.


Compiler - C, C++, C#,COBOL, etc.

Comments

Popular Posts