Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Yet another compiler...
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Backend
Frontend
SampleIR
SampleScm
Util
.gitignore
IRToAsm.hs
Makefile
NOTES.rst
README.rst
ScmToIR.hs

README.rst

Yet Another Compiler

  • Written in Haskell
  • For learning compiler backend stuffs (insn sel, reg alloc etc..).
  • Mobai lunba

Usage

  • Compile

make

  • See assembly result

echo "(define main (lambda (argc argv) 0))" | ./bin/IRToAsm

  • Compile and run assembly

./SampleProg/cc.py ./SampleProg/test-oop.ss -r

Something went wrong with that request. Please try again.