Compiler Front End
Lexical Analysis
Syntax Analysis
Semantic Analysis
Compiler Back End
Code Generation
Optimization
Parsing
Translating code to rules of grammar. Building representation of code.
Scanning
Converting input text into stream of known objects called tokens. Simplifies parsing process.