harlanhaskins / Kaleidoscope-Swift

A compiler for the Kaleidoscope sample project, written in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kaleidoscope-Swift

This is the LLVM-backed compiler from part 3 of the Building a Compiler in Swift with LLVM series.

Important Installation Instructions:

Apologies, but Part 4 of the project currently only works on macOS due to some build behavior we need to fix for LLVMSwift.

You must follow the instructions specificed in the README for LLVMSwift to be able to compile this project.

Once that's done, just open this folder and run

swift build

and you should have a binary at .build/Debug/Kaleidoscope.

On macOS, you can also run

swift package generate-xcodeproj

to create an Xcode project for this repo.

Author

Harlan Haskins (@harlanhskins)

License

This project is released under the MIT license, a copy of which is attached to this repo.

About

A compiler for the Kaleidoscope sample project, written in Swift

License:MIT License


Languages

Language:Swift 100.0%