EmbLogic's Blog

5 stages of compiler

Compilation process in general is split into roughly 5 stages and those are as follows:-
1. Preprocessing
2. Parsing
3. Translation
4. Assembling
5. Linking

One Response to 5 stages of compiler

  1. Hitesh Dhanwani says:

    compilation is done in mainly two stages:
    1.Analysis
    2.Synthesis
    Analysis is done in three stages
    1.1 Lexical Analysis
    1.2 Syntactical Analysis
    1.3 Semantic Analysis

    Synthesis is done in three stages
    2.1 Intermediate code generation
    2.2 Code Optimization

Leave a Reply to Hitesh Dhanwani Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>