Cousins of compiler
BLUE COLOR - BACK END PHASE
LEXICAL ANALYSIS: valid tokens separation(lexeme) made(by removing white spaces from source program)
SYNTAX ANALYSIS: generating parse tree, symbol tree(parameter: position, type, constant/variable)
INTERMEDIATE CODE GENERATOR: creating temporary variable
OPTIMISED CODE GENERATOR: optimizing intermediate code
TARGET CODE GENERATOR: converting to assembly code
- Preprocessor
- Assembler
- Linker/Loader
- LEXICAL PHASE
- SYNTAX PHASE
- SEMANTIC PHASE
- INTERMEDIATE CODE GENERATOR
- OPTIMISED CODE GENERATOR
- TARGET CODE GENERATOR
BLUE COLOR - BACK END PHASE
LEXICAL ANALYSIS: valid tokens separation(lexeme) made(by removing white spaces from source program)
SYNTAX ANALYSIS: generating parse tree, symbol tree(parameter: position, type, constant/variable)
INTERMEDIATE CODE GENERATOR: creating temporary variable
OPTIMISED CODE GENERATOR: optimizing intermediate code
TARGET CODE GENERATOR: converting to assembly code
No comments:
Post a Comment