+ 7
what is compiler more explanation
2 Antworten
+ 1
Computers can't understand our language. They're made up of binary digits including 0 and 1
Computers can't even understand programming languages
But as programming languages are easier than 0's and 1's, they're used
And now, there are two types of translators that translate your code into machine language (0 and 1)
The first one is called an interpreter
It reads and translates code line by line from top to the bottom
If it finds an error, it immediately stops executing the task and reading the code
And the compiler is one that translates code after reading all the code
As compiler can run till the end, even if there's an error, it can give you a list of errors
Python is an example of interpreted language whereas Java uses compiler
0
They are nothing just a medium to convert the language written in programming language to convert into binary so that computer can understand them and respond to us.