A Nanopass Framework for Compiler Education

Created on 2022-04-15T09:19:25-05:00

Return to the Index

This card can also be read via Gemini.

Design of a Scheme compiler which consists of a large number (50+) of small passes

Each pass operates on the same intermediary representation

Everything from resolving label/gotos to register allocation etc uses the same representation

Passes are functions which run over the code tree and modify it