361716124719f1ba99873f85e87d2297200d3574
define i32 @kfun:sum(i32) {
entry:
%a = alloca i32
store i32 %0, i32* %a
%tmp1 = load i32, i32* %a
%tmp0 = add i32 %tmp1, 33
ret i32 %tmp0
}
Kotlin-native backend
Build
First, build Kotlin IR branch tree with:
pushd backend.native/kotlin-ir
ant -f ./update_dependencies.xml jb_update
ant -f ./build.xml
popd
Then, download dependencies:
gradle :dependencies:update
To build native translator just use:
gradle :backend.native:run
And it will run simple example (currently prints out IR of test file).
Description
Languages
Kotlin
79.9%
Java
10.4%
Swift
4.3%
C
2.8%
C++
2.1%
Other
0.3%