An LLVM-based compiler for Piet, the esoteric programming language.
BSD 3-Clause "New" or "Revised" License
1
stars
0
forks
source link
-
Quickstart
The goal of this project is to compile programs written in the esoteric Piet
language into LLVM IR.
+BEGIN_SRC sh
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
+END_SRC