chqing / kaleidoscope

Haskell LLVM Kaleidoscope Tutorial

Home Page:http://www.stephendiehl.com/llvm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Haskell Kaleidoscope Tutorial http://www.stephendiehl.com/llvm

This is an open source project, patches and corrections always welcome.

Editing

Install the dependencies:

$ cabal sandbox init
$ cabal configure
$ cabal install --only-dependencies

To generate the HTML page:

$ make tutorial.html

A standalone PDF can also be generated with:

$ make tutorial.pdf

Source Code

The source code for the example compiler of each chapter is included in the /src folder. With the dependencies installed these can be built using the Makefile at the root level.

$ make chapter1
$ make chapter6

License

LLVM + MIT License

About

Haskell LLVM Kaleidoscope Tutorial

http://www.stephendiehl.com/llvm

License:Other