Home TechnologyProgramming Subscribe to RSS

What Is Scope & Visibility Rules In Semantic Analysis Of Phases Of Compiler?

Semantic analysis is a third phase of compiler.in semantic analysis we just check the meaning of statements with its history .

Answer Question

1 Answer - Sort by: Date | Rating

    Not sure how to interpret your question but I believe  the phases of a compiler to be:

    1. Lexical analysis - reads in source code and checks for minor errors.
    2. Preprocessing - standardizes the source code.
    3. Parsing - breaks the code up into logical parts.
    4. Semantic analysis - checks for other errors.
    5. Code generation - generates machine code.
    6. Code optimization - looks for ways to make code smaller and more efficient.
    7. Executable generation - creates the output ( .exe, .com, .dll, etc.).
    0 0

    Jnawrocki 

    answered 2 years ago

      More

         
         

        Ask a Question via Twitter

        Send a question to @askblurtit and we will publish it online and send you a reply everytime you receive an answer.

        Blurtit Store

        Get T-shirts, hoodies, caps and more at the Blurtit store

        Blurtit International