Skip to content

Lab assignment for 2019 fall SE302 compiler course - tiger compiler implementation in C++

Notifications You must be signed in to change notification settings

egnchen/SE302-Lab

Repository files navigation

Tiger compiler

This repo contains my code for 2017 SE302 compiler course. Being divided int 6 separate assignments, it implements a compiler for the tiger language described in Modern Compiler Implementation in C. The main difference is that this one is implemented in C++ and supports X86-64 architecture.

  • lab1: A simple straightline code analyzer & interpreter. Not part of the compiler.
  • lab2: Lexical analysis using flexc++. See src/lex.
  • lab3: Language parser using bisonc++. See src/parse.
  • lab4: Semantic analysis. See src/semant.
  • lab5: IR translation and code generation. See src/frame, src/translate, src/codegen.
  • lab6: Register allocation. See src/regalloc.

About

Lab assignment for 2019 fall SE302 compiler course - tiger compiler implementation in C++

Resources

Stars

Watchers

Forks

Packages

No packages published