CS 374 - Compilers
Spring 2012
Course Information
Course Information Page
Homework Assignments
Readings
Syllabus
Moodle
site for homework submission
Chapter #1
Chapter #2
Chapter #3
Chapter #4
Chapter #5
Code Generation - Part I
Code Generation - Part II
Code Generation - Part III
Online Resources
Modern Compiler Implementation in Java (2nd ed.)
Modern Compiler Implementation in Java (2nd ed.) Text Home Page
,
author site
MiniJava Project
and
alternative site
JavaCC
JavaCC
- LL(k) parser generator for Java
Eclipse JavaCC Plugin Home
JavaCC Documentation
Java Tree Builder (JTB)
- abstract syntax class generator for JavaCC grammars
MARS
MARS - MIPS Assembler and Runtime Simulator
MARS Tutorial
MIPS Fibonacci Example
SPIM
SPIM
- MIPS R2000/R3000 assembly language program simulator, see "Resources" section as well
SPIM Documentation
Appendix A: "Assemblers, Linkers, and the SPIM Simulator"
from Hennessy & Patterson,
Computer Organization and Design: The Hardware/Software Interface
Department Account Resources Page
Lecture Examples