eatingtomatoes / tiger-compiler

A simple compiler for (modified) tiger language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tiger

Progress:

  1. A lexer generated by Alex.
  2. A parser generated by Happy.
  3. Intermediate represnetations: Tree, Quadruple and SSA-Quadruple
  4. Quadruple optimization based on data flow analysis.
  5. Partial GC.
  6. Register allocation via graph coloring.
  7. Assembler generator for x86-64 on ubuntu18.04.

About

A simple compiler for (modified) tiger language

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 92.4%Language:C++ 2.4%Language:Yacc 2.3%Language:RPC 1.2%Language:Assembly 0.8%Language:Makefile 0.7%Language:Shell 0.2%