CS 4120

CS 4120

Course information provided by the 2026-2027 Catalog.

An introduction to the specification and implementation of modern compilers. Topics covered include lexical scanning, parsing, type checking, code generation and translation, an introduction to program analysis and optimization, and compile-time and run-time support for modern programming languages. As part of the course, students will build a working compiler for an object-oriented language.


Prerequisites CS 3110 or permission of instructor; CS 3420 or CS 3410.

Corequisites CS 4121.

Distribution Requirements (SMR-AS)

Last 4 Terms Offered 2026SP, 2023SP, 2022SP, 2021SP

Learning Outcomes

  • Be able to write parsers for programming languages and other structured information.
  • Be able to implement simple language compilers.
  • Be able to implement local program analyses and optimizations.

View Enrollment Information

Syllabi: none
  •   Regular Academic Session.  Combined with: CS 5120

  • 3 Credits Graded

  •  6645 CS 4120   LEC 001

    • MWF
    • Jan 25 - May 11, 2027
    • Myers, A

  • Instruction Mode: In Person

    For Bowers Computer and Information Science (CIS) Course Enrollment Help, please see: https://tdx.cornell.edu/TDClient/193/Portal/Home/