Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 643 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 643 Bytes

CS143-Compilers-Stanford

This repo contains solutions to 4 assignments of the Compilers course available on Coursera as well as Stanford Online. NOTE: only the files that required modification have been included.

Assignment1 - Lexical Analyser (Mark: 63/63)

  • cool.flex

Assignment2 - Parser (Mark: 70/70)

  • cool.y

Assignment3 - Type Checking (Mark: 74/74)

  • cool-tree.h
  • semant.h
  • semant.cc

Assignment4 - Code Generation (Mark: 58/63)

  • cool-tree.h
  • cool-tree.handcode.h
  • cgen.h
  • cgen.cc