Understand About Compiler Design :
- Simply Saying, Compiler Design is a conversion of some HL language ( High Level ) into a LL Language ( Low Level ).
- In other words, HL language into Machine Language.
- Some People Says it as User Understandable language into Machine Understandable Language.
- All the things which said above are meant to be same, Experts says it in different ways.
* Here, machine understandable language are 0’s and 1’s (Binary).
* User( Programmers ) understandable language are alphabets and numbers.
- In terms of time and space, it’s expected that a compiler should make the target code efficient and optimized.
PRINCIPLE :
- It provides a view of the optimization and translation process.
- It can do both error detection and error recovery.
FRONT END :
- Lexical analysis
- Syntax analysis
- Semantic analysis
BACK END:
- Code generation
- Optimization.