Compilers Notes

2021-03-21

This is the outline of my notes from the University of Toronto course CSC467: Compilers. This resource should ideally be used to refresh knowledge. I would not recommend using it to learn the material from scratch, since this is a shortened form of my notes I used for review.

  1. Lexical Analysis. Tokenizing a program.
  2. Parsing. Creating syntax tree, defining grammar.
  3. Semantic Analysis. Extracting meaning from syntax tree.
  4. Optimization. Modify to improve performance.
  5. Code Generation. Produce assembly or byte code.