Konstantin Anisimov 3617161247 numeric literal support:
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
}
2016-10-28 12:31:38 +03:00
2016-10-28 12:31:38 +03:00
2016-10-17 13:59:33 +03:00
2016-10-27 13:52:00 +03:00
2016-10-26 06:21:31 +03:00
2016-10-27 19:32:45 +03:00
2016-10-07 14:14:00 +03:00
2016-10-18 09:53:54 +03:00
2016-10-27 13:52:00 +03:00
2016-10-27 13:52:00 +03:00
2016-10-17 18:52:11 +03:00

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).

S
Description
The Kotlin Programming Language.
Readme 2.1 GiB
Languages
Kotlin 79.9%
Java 10.4%
Swift 4.3%
C 2.8%
C++ 2.1%
Other 0.3%