COSC 4400/ MSCS 5400
COMPILER CONSTRUCTION
Course Homepage
Spring, 2019


This is a Web site for one semester of COSC 4400. Although the course always covers basic compiler techniques and always includes work on some project language, the details may differ quite a bit from semester to semester.


Course Description:
This course provides an overview of basic compiler techniques which are useful in a variety of programming projects. We will cover basic concepts of lexical scanning, parsing and code generation. This semester we will program in Java and learn to use JFlex and CUP to help implement our compiler.

Course Syllabus

Graduate Literature Assignment

Homework Assignments

Midterm Exam Study Guide

Gustave Language
Gustave overview, sample program, and Gustave grammar

Notes on Gustave methods (functions)

Sample Gustave programs

Code from class
This folder has some of the demo code from class.


ARM assembler guide
This document describes the various ARM hardware instructions.

GNU assembler syntax
This document describes the syntax expected by the GNU assembler. This includes a section specific to ARM machines as well as general info about pseudo-ops, etc.

CUP manual

JFlex download site
This is the main JFlex project site.

JFlex manual


This site created and maintained by Dr. Michael C. Slattery of Marquette University.
You can contact me at michael.slattery (a) marquette.edu.