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-multilib
to compile runtime.c library file in x86 version
make latte
compiles project and produceslatc_x86
binary in project directorymake test
runs unit tests defined in projectmake clean
cleans build files
./gradlew nativeImage
compiles project and produceslatc_x86
binary in project directory./gradlew test
runs 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