Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 467 Bytes

README.org

File metadata and controls

21 lines (15 loc) · 467 Bytes

Quickstart

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