Definition of Compiler
Definition: A compiler is a computer program that transforms human readable source code of another computer program into the machine readable code that a CPU can execute. The act of transforming source code into machine code is called "compilation". This is the opposite to the process of interpretation. Definition of Machine Code
Definition: Machine code is the name for the Instructions that a CPU can execute. It's rather difficult to read as it is just numbers in memory. There are programs that can convert the numbers back into assembly language but unless you are pretty skilled or trying to break a protection scheme, there is little use or need for it.
Definition of Interpreter
Definition: In computing, an interpreter is a computer program that reads the source code of another computer program and executes that program. Because it is interpreted line by line, it is a much slower way of running a program than one that has been compiled but is easier for learners because the program can bestopped, modified and rerun without time-consuming compiles. Examples: The compiled program took ten minutes to run to completion. The interpreted program took an hour.
Definition of Source Code
Definition: Source code is the human readable instructions that a programmer writes. Here is an example of some C++ code void Rectangle::MoveTo (int newx, int newy)
x = newx;
y = newy;
About Compilers and Interpreters
To write a program takes these steps:
Edit the Program
Compile the program into Machine code files.
Link the Machine code files into a...
Please join StudyMode to read the full document