This Question is Answered 

    Can You Explain Different Phases Of A Compiler With An Example?

    I need an example which follows the different phases of the compiler.

    asked 1 year ago

    Can't find what you're looking for?

    Ask a Question, Get an Answer ASAP


    Date | Rating

    2 Answers


    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. 3. Semantic analysis - checks for errors. 4. Code generation - generates machine code. 5. Code optimization - looks for ways to make code smaller and more efficient. 6. Executable generation - creates the output ( .exe, .com, .dll, etc.).

    answered 1 year ago   

    New Comment

    500 characters left


      Any form you will fill up
      whom who you submit he check it first you fill completely or not then he check format i.e syntax analysis then semantic analysis i.e u provide correct information or not and further.

      answered 12 months ago   

      New Comment

      500 characters left

      What is Blurtit ?

      Ask questions on any topic, get great answers from real people for FREE. Blurtit has hundreds of thousand of members so your sure to get the answer your looking for.

      Ask a Question.

        Ask a Question