From the link:
"A compiler is a computer program that translates computer code written in one programming language into another programming language.
- The first language is called the source language, and the code is called SOURCE CODE.
- The second language is called the target and can usually be understood by computers. In that case, the instructions become MACHINE CODE.
A compiler usually has 3 STEPS:
- It reads the text and makes notes about how the instructions go together. If the instructions don't make sense, it will try to tell the programmer
- Then it will use what it knows about the target language to make the instructions fit better
- It then writes down the instructions in the target language. If the source instructions are on different pages, it may have to compile several before it can write everything down"
No comments:
Post a Comment