The goal of this project is to compile programs written in the esoteric Piet language into LLVM IR.
# Create Cabal sandbox
cabal sandbox init
# Install dependencies
cabal install --only-dep
# Build
cabal build
# Compile a sample Piet program to LLVM IR
dist/build/piet-llvm/piet-llvm samples/hw2-1.gif
# Link and output native machine code
./compile_ir.sh colorblocks.ll