Kaleidoscope is a language used in tutorials for the LLVM Compiler Project
This repo contains an implementation of the Kaleidoscope compiler in Swift, as it was presented to Playgrounds Conference on Feb. 23rd, 2017.
There are a few build instructions you'll need to follow before the project will build:
- Install LLVM 3.9 using your favorite package manager. For example:
brew install llvm
- Ensure
llvm-config
is in yourPATH
- That will reside in the
/bin
folder wherever your package manager installed LLVM.
- That will reside in the
git clone https://github.com/trill-lang/LLVMSwift.git
- Run
swift LLVMSwift/utils/make-pkgconfig.swift
- Harlan Haskins (@harlanhaskins)
This project is released under the MIT license, a copy of which is available in this repository.