COP 5621 -- Compiler Construction

Fall 2004


Geoffrey Smith

Modern Compiler Implementation in Java, Second Edition

Course Syllabus

Cop5621 Mailing List


Homework Assignments and Due Dates

Note: Supporting files are available in /homes/smithg/compiler/minijava/.
  1. Straight-Line Program Interpreter. Due Wednesday, September 15.
  2. MiniJava Lexical Analyzer. Due Monday, September 27.
  3. MiniJava Parser. Due Monday, October 11.
  4. Abstract Syntax. Due Wednesday, October 27.
  5. Type-Checker. Due Monday, November 15.
  6. Translation to Intermediate Code. Due Monday, November 29.
  7. SPARC Instruction Selection. Due Monday, December 13.


SPARC Assembly Language

Here are my notes on the SPARC architecture: sparc1.pdf and sparc2.pdf. Also, sample SPARC assembly language programs can be found in /homes/smithg/compiler/sparc/. (Unfortunately, most of the examples are most relevant to the Tiger project from the first edition of Appel.)

Complete SPARC documentation is available at SPARC International, Inc., including an on-line version of the SPARC Architecture Manual, Version 8. And here's a nice SPARC laboratory manual from the University of New Mexico.


Back to Geoffrey Smith's home page.