Compiler Basics

Share this on :

Compiler is a program which coverts High Level Language (source code) into assembly level language (executable code). Compiler works fast as compared to interpreter. Compiler comprises of following:
1. Lexical Analyzer (Generates Tokens),
2. Syntax analyzer (generates parser),
3. Semantic Analyzer (type checking),
4. Intermediate Code Generation (3-address code),
5.Code Optimization, and 6. Target code generation.

Share this on :