A compiler is a software program that transforms high-level source code, which is written by a developer in a high-level programming language, into a low level object code (binary code) in machine language, which can be understood by the processor. The process of converting high-level programming into machine language is called compilation. The processor executes object code. This code indicates when a binary high signal and a binary low signal are required in the arithmetic logic unit of the processor.
A compiler that converts machine language into high-level natural language is called a decompiler. Compilers that produce the object code meant to run on a system are called cross-compilers. Finally, a compiler that converts one programming language into another is called a language translator.A compiler executes four major steps:
Read More ยป
Get Techopedia delivered to your inbox!