Skip to main content

Compiler

Translates code.

Resources

  • Book: Introduction to Compilers and Language Design
    • Scanning, parsing, abstract syntax tree, semantic analysis, intermediate representation, memory organization, assembly language, code generation, optimization, and a sample project
    • A book I found and planning to read
  • Cornell Advanced Compilers: The self-guided online course (HN)
    • PhD-level CS course on the design of compilers. Includes videos and some readings.
    • Not just optimization or parsing, but also the language implementation, the semantics of programs
    • Intermediate representations, data flow, optimizations, parallelization, just-in-time compilation, garbage collection
  • Crafting Interpreters
    • Implement a full-features scripting language