Compiler theory | Learning Objectives

  1. Lexical analysis, regular expressions grasp, understand dfa / nfa.
  2. Parsing aspects, can read BNF, know AST, write a simple recursive descent parser, parser generator will use antlr like.
  3. 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.
  4. It will implement a simple virtual machine (stack-based, with no GC), and translate four arithmetic expression for the virtual machine instructions.

Guess you like

Origin www.cnblogs.com/Serenity1994/p/12453062.html