Skip to content

happierpig/Mx_Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toyslator

A toy Compiler supports compiling single file code in the simple programing language Mx* into RISC32I assembly. CS2966 Course Project.

Feature

  • Use ANTLR to analyse source code
  • Construct AST from CST to do Semantic Check
  • Implement IR confirming to LLVM form(executable by clang)
  • Adopt Memory2Reg, a small optimization
  • GraphColoring register allocation
  • More advanced Instruction selector
  • More complex Optimization, like SCCP ADCB and so on

About

CS2966 Course Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published