6.035 | Fall 2005 | Undergraduate

Computer Language Engineering (SMA 5502)

Projects

decaf_spec.pdf

Description:

The project for the course is to write a compiler for a language called Decaf. Decaf is a simple imperative language similar to C or Pascal. This resource covers the following topics: Lexical Considerations, Reference Grammar, Semantics, Types, Scope Rules, Locations, Assignment, Method Invocation and Return, Control Statements, Expressions, Library Callouts, Semantic Rules, and Run Time Checking.

Resource Type:
Projects

Course Info

Learning Resource Types
Lecture Videos
Lecture Notes
Projects