Table of Contents

News

Introduction

Welcome to CS216, Project Workshop of Compiler Principals! In this course, you will implement a compiler for a simplified version of Java from scratch, and by yourself.

Schedule

Phase 1: Syntactic Analysis

Phase 2: Semantic Analysis

Phase 3: Intermediate Representation

Phase 4: Code Generation

Phase 5: Register Allocation

提倡使用Linear Scan代替传统图染色

Grading

Bonus

任务0: 使用git管理代码

任务1: Name Our New Language (1)

任务2: Visitor Pattern (3)

任务3: 武松打虎 (1-3)

任务4: Test Cases (1-2)

任务5: Test Cases (Final)

Links

Contacts