Compiler Construction
Bachelor of Science in Computer Science · University · Core Courses
In this unit you will: know the compiler phases and lexical analysis; understand context-free grammars, LL parsing, and LR parsing; apply semantic analysis, symbol tables, and three-address code; classify optimizations and register allocation; assign errors and techniques to compiler phases.
There are 50 exercises to practice: interaktive Aufgaben. Every answer gets instant feedback, free and without signing up.
What's included
- Know the compiler phases and lexical analysis
- Understand context-free grammars · LL parsing · and LR parsing
- Apply semantic analysis · symbol tables · and three-address code
- Classify optimizations and register allocation
- Assign errors and techniques to compiler phases
Example questions
- What does the scanner pass to the parser?
- How many tokens does a typical scanner produce from “x = a + 42;”?
- True or false? “An interpreter translates the whole program in advance into an executable machine code file.”