v5 Capstone: Full Pipeline

Lesson, slides, and applied problem sets.

View Slides

Lesson

v5 Capstone

You now have a modular compiler that:

  • lexes and parses multiple modules
  • validates imports/exports
  • compiles each module to bytecode
  • links them into one program
  • runs through the VM

This is the first time the pipeline has an explicit linker.


Module Items