Computer Science

CSC 512

Compiler Construction

3 creditsGraduateTypically Fall

Taught alongsideCSC 412

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
One of
Catalog textparsed by LLM

Prerequisites: Graduate standing and CSC 316 and CSC 333 or equivalent classes.

Prerequisite chain

Expand a course to see what it needs.

Requires
one of
  • all of
    • Graduate standing
    • CSC 316Data Structures and Algorithms
    • CSC 333Automata, Grammars, and Computability
  • equivalent classes

Leads to (1)

Courses that list this one as a prerequisite or corequisite.

Grades

Last 5 years · Fall 2022–Fall 2025 · 157 students in 5 sections · average ≈ 3.76

  • A79%
  • B13%
  • C3%
  • D1%
  • F0%
  • W4%

All terms since Spring 2010: 645 students, average ≈ 3.62.

InstructorStudentsAvg ≈DistributionAD/FW
Xipeng (Gracen) Shen3 sec · last Fall 20251073.7779%1%4%
Xu Liu2 sec · last Fall 2022503.7378%2%4%

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