Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
Compile refers to the act of converting programs written in high level programming language, which is understandable and written by humans, into a low level binary language understood only by the computer.
To compile, you need a compiler, which is a software program that converts high level programming language code into machine code.
The process of compilation consists of accessing the source code, written by the programmer, and performing a check to ensure nothing is ambiguous to the computer. Each and every programming language has a set of keywords that initiate a particular function. The order in which the keywords are used to form meaningful instructions understood by the computer is called syntax. The process of compilation also ensures that the syntax of the source code is correct. Then the source code is converted step by step into the machine language.