To build the examples:
- Install or download LLVM on your computer
- Update
llvm.def
for your system and LLVM location - Run
./gradlew clean build
- Find required executable in
build/bin/kaleidoscope
This implementation uses c interface of LLVM.
Kotlin/Native: https://kotlinlang.org/docs/reference/native-overview.html
LLVM: https://llvm.org/
Kaleidoscope: https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html