Definition of Compiler :
- A computer program which reads source code and outputs assembly code or executable code is called compiler.
OR
- A program that translates software written in source code into instructions that a computer can understand Software used to translate the text that a programmer writes into a format the CPU can use.
OR
- A piece of software that takes third-generation language code and translates it into a specific assembly code. Compilers can be quite complicated pieces of software.
Compiler Overview :

Different Phases of Compiler
- Lexical Analysis Phase
- Syntax Analysis
- Semantic Analysis
- Intermediate Code Generation
- Code Optimizer
- Code Generation

