Hire Our Expert Programmer & Technical Writer To Do Your Capstone Project
0 votes
in Compilers & Operating Systems by (user.guest)

1 Answer

0 votes
by (user.guest)

Some of the steps or processes carried out by the compiler include:

  • Lexical analysis stage:  Divides the codes into lexemes which are then tokenized in preparation for syntax and sematic analysis. 
  • Syntax analysis stage: Verifies the code syntax is correct based on the syntax rule of the source language. 
  • Semantic analysis stage: At this stage the compiler checks the logic of he code and code's accuracy .
  • IR code Generator : This stage deals with the generation intermediate Representation of the source code. 
  • Optimization of code: This stage deals with stripping away and rearranging of code to ensure optimality and low consumption of resources. 
  • Output code generation

Related questions

+1 vote
1 answer
Welcome to CPENTalk.com

Disclaimer: Every user is solely responsible for anything that he/she posts or uploads on CPENTalk.