Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 357 Bytes

README.rst

File metadata and controls

18 lines (13 loc) · 357 Bytes

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