Now we already know what a compiler does. The following video will further help you in understanding the concept and working of a compiler: Computers can understand binary code and therefore they can execute instructions written by humans using programming language. When humans remove all these errors, compiler converts the program into binary code (also known as machine code or object code). This is where compiler comes in scene.Ĭompiler is a software that checks a computer program (called source code) and lists all the errors found. We also need something to convert programming language into binary language for the consumption by computer. It is essentially a predefined syntax of writing logical computer instructions which humans can also understand. Programming language is not plain English. This intermediate language is called - the programming language. To get around this problem a middle path of an intermediate language is used to convey human commands to the computers. The problem is that we are not comfortable with binary and computers find our languages too difficult to understand. We humans feel most comfortable if we could issue instructions by writing plain English or Hindi programs for computers. Computers are machines and for them it is much easier to work using a simpler encoding of 0s and 1s. Alphabet of computers contains only two letters, namely zero and one. While humans speak languages like English, French, Hindi, Spanish, Chinese, Japanese, Arabic etc. First of all you need to understand that computers and humans speak different languages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |