- Lexical analysis, regular expressions grasp, understand dfa / nfa.
- Parsing aspects, can read BNF, know AST, write a simple recursive descent parser, parser generator will use antlr like.
- Optimization, know how strong the optimization capabilities of modern compilers, compiler knows how to write efficient with readable code, avoid trying to outsmart the compiler.
- It will implement a simple virtual machine (stack-based, with no GC), and translate four arithmetic expression for the virtual machine instructions.
Compiler theory | Learning Objectives
Guess you like
Origin www.cnblogs.com/Serenity1994/p/12453062.html
Ranking