Skip to content

An LLVM-based compiler for Piet, the esoteric programming language.

License

Notifications You must be signed in to change notification settings

dmcardle/piet-llvm-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An LLVM-based compiler for Piet, the esoteric programming language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages