Computer Science

CSC 412

Compiler Construction

3 creditsUndergraduateTypically Fall

Taught alongsideCSC 512

The course will concentrate on the theory and practice of compiler-writing. Topics to be covered will include techniques for parsing, code generation, and optimization. Furthermore, the theoretical underpinnings of compilers such as LR parsing will be covered. Finally, the students will be exposed to compiler construction tools, and will obtain hands-on experience in building a compiler for a small programming language. Besides the listed prerequisite courses, other helpful courses include CSC 253, CSC 224, CSC 234, and MA 121.

Requirements

Prerequisites
Catalog textparsed by rules

Prerequisites: CSC 316 and 333

Prerequisite chain

Expand a course to see what it needs.

Requires
all of
  • CSC 316Data Structures and Algorithms
  • CSC 333Automata, Grammars, and Computability

Grades

Last 5 years · Fall 2022–Fall 2025 · 76 students in 4 sections · average ≈ 3.31

  • A60%
  • B19%
  • C4%
  • D1%
  • F8%
  • W7%

All terms since Fall 2019: 135 students, average ≈ 3.17.

InstructorStudentsAvg ≈DistributionAD/FW
Xipeng (Gracen) Shen3 sec · last Fall 2025603.3459%9%9%
Xu Liu1 sec · last Fall 2022163.2067%13%0%

From Gradient. Letter grades only (no +/−), so averages are approximate. Summer II isn’t included. Instructors with under 10 students aren’t listed, but their students count toward the totals.

Sections

Not scheduled in 2027 Spring or 2026 Fall.

Official catalog entry