Skip to content

akashgangil/Tiger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TODO:

Phase 1

  • Naive Register Allocation
  • Detect basic blocks
  • Construct CFG
  • Graph Coloring (intra block level)
  • EBB construction
  • Liveness analysis (Bonus)

Phase 2

  • Instruction Selection & Code Generation

Phase 3

  • Function Calls

References:

Usage

Build

$ ./make.sh

Parse, Generate AST

$ ./tiger.sh [options] <tiger source>

For full list of options

$ ./tiger.sh --help

Clean

$ ./clean.sh

Directory Structure

  • xxx

Credits

(c) 2014 Akash Gangil, Tyler Bell, Brandon Chastain. MIT License

About

CS4240 Tiger Compiler Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages