Latte is originally a JVM language that is fully interoperable with Java. This project implements a native x86 compiler for this language with no support for interoperability with other languages but tries to provide an optimized version of native version of this language.
To build project you need:
- Java 11 to build compiler from Kotlin sources and run Gradle in Java 11 environment
- gcc with
gcc-multilibto compile runtime.c library file in x86 version
make lattecompiles project and produceslatc_x86binary in project directorymake testruns unit tests defined in projectmake cleancleans build files
./gradlew nativeImagecompiles project and produceslatc_x86binary in project directory./gradlew testruns unit tests defined in project
- junit as testing framework for tests launching and model
- antlr as parser generator framework (with Gradle plugin)
- gradle-graal for using GraalVM from Gradle to generate native binaries