piet-llvm-frontend

所属分类:编译器/解释器
开发工具:Haskell
文件大小:22KB
下载次数:0
上传日期:2017-12-17 04:43:22
上 传 者sh-1993
说明:  一个基于LLVM的编译器,用于深奥的编程语言Piet。
(An LLVM-based compiler for Piet, the esoteric programming language.)

文件列表:
LICENSE (1520, 2017-12-17)
Setup.hs (46, 2017-12-17)
compile_ir.sh (151, 2017-12-17)
piet-llvm.cabal (1023, 2017-12-17)
samples (0, 2017-12-17)
samples\Piet_hello.png (354, 2017-12-17)
samples\big (0, 2017-12-17)
samples\big\Piet_hello_big.png (764, 2017-12-17)
samples\big\tetris_big.png (4165, 2017-12-17)
samples\hw1-1.gif (263, 2017-12-17)
samples\hw2-1.gif (284, 2017-12-17)
samples\tetris.png (3773, 2017-12-17)
src (0, 2017-12-17)
src\Codegen.hs (11397, 2017-12-17)
src\DebugPrinter.hs (1529, 2017-12-17)
src\ImageLoader.hs (2169, 2017-12-17)
src\LLPrinter.hs (312, 2017-12-17)
src\Main.hs (754, 2017-12-17)
src\PietLang.hs (6462, 2017-12-17)
src\pietlib (0, 2017-12-17)
src\pietlib\Makefile (54, 2017-12-17)
src\pietlib\pietlib.c (9614, 2017-12-17)

* 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

近期下载者

相关文件


收藏者