Vasily Levchenko 725b29f9e8 [kotlin compiler][update] 1.4.20-dev-3012
* 39d4b79324 - (tag: build-1.4.20-dev-3012, origin/master, origin/HEAD) [FIR TEST] Fix FE 1.0 / FIR test data for nested / local type alias case (vor 13 Stunden) <Mikhail Glukhikh>
* 7724d060ff - [FIR] Don't compare SYNTAX diagnostics in light tree diagnostic test (vor 13 Stunden) <Mikhail Glukhikh>
* 4e4fe9f719 - [FIR] Support some kinds of fake sources in light builder (vor 13 Stunden) <Mikhail Glukhikh>
* 951aa8185e - [FIR] Avoid duplicate diagnostics on expression.typeRef (vor 13 Stunden) <Mikhail Glukhikh>
* dc46d51d9a - [FIR TEST] Update diagnostic spec test data (vor 13 Stunden) <Mikhail Glukhikh>
* 6eab6f2f87 - [FIR TEST] Replace OTHER_ERROR with UNRESOLVED_REFERENCE in test data (vor 13 Stunden) <Mikhail Glukhikh>
* c55cdf1935 - [FIR] Fix missing ErrorTypeRef for QA and clean DiagnosticCollector (vor 13 Stunden) <Nick>
* 7086b0cbf3 - [FIR] Don't report duplicated errors in component calls typeRefs (vor 13 Stunden) <Nick>
* 4ceae8dc5e - [FIR] Don't report duplicated errors in function calls typeRefs (vor 13 Stunden) <Nick>
* 6f85a07290 - [FIR] Don't report duplicated errors in property declarations (vor 13 Stunden) <Nick>
* 889324e972 - [FIR] Ignore failing test, improve DiagnosticKind, fix UPPER_BOUND (vor 13 Stunden) <Nick>
* 9335e09149 - [FIR] Don't report duplicated errors in implicit properties / parameters (vor 13 Stunden) <Mikhail Glukhikh>
* ceaffb1e8b - [FIR] Don't report duplicated errors in implicit primary constructors (vor 13 Stunden) <Mikhail Glukhikh>
* 749346b73b - [FIR] Don't report duplicated errors on default accessor error type refs (vor 13 Stunden) <Mikhail Glukhikh>
* e0d25876b0 - [FIR] Don't report simple diagnostics on fake sources (vor 13 Stunden) <Mikhail Glukhikh>
* 551bdd267d - [FIR] Introduce WRONG_NUMBER_OF_TYPE_ARGUMENTS diagnostic (vor 13 Stunden) <Mikhail Glukhikh>
* 0804c6a0f3 - [FIR] Introduce TYPE_ARGUMENTS_NOT_ALLOWED & some other type errors (vor 13 Stunden) <Mikhail Glukhikh>
* c744dfba9c - (tag: build-1.4.20-dev-3011) FIR: distinguish anonymous object as enum entry when scoping (vor 13 Stunden) <Jinseong Jeon>
* 52631b7abd - FIR2IR: make local storage track scopes, including anonymous init (vor 13 Stunden) <Jinseong Jeon>
* 26e3a111d6 - (tag: build-1.4.20-dev-2997, tag: build-1.4.20-dev-2994) [FIR] Add diagnostics for object related problems (vor 3 Tagen) <Nick>
* 694d3cad4e - (tag: build-1.4.20-dev-2993) [FIR] Exposed visibility checker: optimize checks for local visibility (vor 3 Tagen) <Nick>
* 60462bea1c - FirEffectiveVisibilityResolver: search parent in containingDeclarations (vor 3 Tagen) <Nick>
* 7145caca40 - [FIR] Refactor effective visibility calculation (vor 3 Tagen) <Nick>
* b15e32936e - (tag: build-1.4.20-dev-2991) JVM IR: Optimize delegated properties (KT-36814) (vor 3 Tagen) <Steven Schäfer>
* 8724efbe8a - (tag: build-1.4.20-dev-2984) [FIR] Add empty range checker (vor 3 Tagen) <vldf>
* b10defdbab - [FIR] Add redundant single string expression template checker (vor 3 Tagen) <vldf>
* 95e0ba3d5c - [FIR] Add ArrayEqualityOpCanBeReplacedWithEquals checker (vor 3 Tagen) <vldf>
* 4d21a496fe - (tag: build-1.4.20-dev-2981) Minor. Update tests (vor 3 Tagen) <Ilmir Usmanov>
* e11c90f26c - (tag: build-1.4.20-dev-2978) JVM_IR: KT-40293 Box return type for DefaultImpls methods if required (vor 3 Tagen) <Dmitry Petrov>
* 034d5a948c - (tag: build-1.4.20-dev-2976) Add JvmDefault to the new EP method for compatibility with older impls (vor 3 Tagen) <Ilya Chernikov>
* fa8c6deb18 - (tag: build-1.4.20-dev-2960) Support restricted suspend lambdas in JVM_IR (vor 3 Tagen) <Ilmir Usmanov>
* 2c205410fa - (tag: build-1.4.20-dev-2957) Check whether the field is indeed being initialized (vor 3 Tagen) <Ilmir Usmanov>
* d8b76f5b26 - (tag: build-1.4.20-dev-2956) Register additional repository id (vor 4 Tagen) <Nikolay Krasko>
* 7eca13569b - (tag: build-1.4.20-dev-2955) (CoroutineDebugger) Enable agent for versions 1.3.8.* (vor 4 Tagen) <Vladimir Ilmov>
* c91858d470 - (tag: build-1.4.20-dev-2953) Convert member to extension: do not suggest for delegated properties (vor 4 Tagen) <Toshiaki Kameyama>
* 46fccae7d1 - (tag: build-1.4.20-dev-2949) PSI2IR: KT-40499 Fix delegated property desugaring (vor 4 Tagen) <Dmitry Petrov>
* bff36e0199 - (tag: build-1.4.20-dev-2931, tag: build-1.4.20-dev-2927) FIR2IR: convert annotations on FirTypeRef (vor 4 Tagen) <Jinseong Jeon>
* 4ca98041cd - IR: update test data (vor 4 Tagen) <Georgy Bronnikov>
* a27d63f58f - JVM_IR: flexible nullability as annotation (vor 4 Tagen) <Georgy Bronnikov>
* a2e9521ad5 - Make DescriptorlessExternalPackageFragmentSymbol public (vor 4 Tagen) <Georgy Bronnikov>
* c2ead0303b - IR: remove more descriptor usage (vor 4 Tagen) <Georgy Bronnikov>
* 9a717e9ecf - (tag: build-1.4.20-dev-2920) Don't copy default value parameters for fake overrides (vor 4 Tagen) <Alexander Gorshenev>
* 2cfd776092 - (tag: build-1.4.20-dev-2916) ForLoopsLowering: Assume `step` == 1 for *Range (e.g., IntRange) and handle accordingly (e.g., do not read `step` property). (vor 4 Tagen) <Mark Punzalan>
* 09e47fff7b - (tag: build-1.4.20-dev-2915) Fix KotlinGradleIT.testCustomCompilerFile (vor 4 Tagen) <Dmitry Petrov>
* dae358c792 - JVM: KT-40664 disable optimization for 'ULong in range of UInt' case (vor 4 Tagen) <Dmitry Petrov>
* f2493d0950 - JVM: KT-40665 more exact check for intrinsified range 'contains' (vor 4 Tagen) <Dmitry Petrov>
* 0559e192ee - (tag: build-1.4.20-dev-2912) [JS IR] Support external delegation in case of JS in psi2ir (vor 4 Tagen) <Roman Artemev>
* c254651ed3 - (tag: build-1.4.20-dev-2911) Uast: handling annotations on the property receiver (KT-40539) (vor 4 Tagen) <Nicolay Mitropolsky>
* 325ad56dcd - (tag: build-1.4.20-dev-2910) Populate Kotlin source set roots with KotlinSourceRootTypes (vor 5 Tagen) <Yaroslav Chernyshev>
* fec845365a - (tag: build-1.4.20-dev-2909) Minor. No longer ignore obsolete PRE_RELEASE_CLASS diagnostic (vor 5 Tagen) <Ilmir Usmanov>
* ebfcd7e074 - (tag: build-1.4.20-dev-2907) J2K: Improve presentation of conversions (vor 5 Tagen) <Simon Ogorodnik>
* 5c745facf4 - J2K: Improve error message in case of incorrect detach (vor 5 Tagen) <Simon Ogorodnik>
* dc963e4ff6 - Improve J2K progress reporting (vor 5 Tagen) <Simon Ogorodnik>
* 8bcf1000f6 - J2K: Fix java 9 try-with-resources (vor 5 Tagen) <Simon Ogorodnik>
* c5005f8695 - J2K: Speed-up add imports (vor 5 Tagen) <Simon Ogorodnik>
* cd0c644654 - J2K: Fix incorrect early detaching of elements in for conversion (vor 5 Tagen) <Simon Ogorodnik>
* 8c2dd876b5 - J2K: Fix incorrect argument remapping when introducing defaults (vor 5 Tagen) <Simon Ogorodnik>
* cd7ac55091 - J2K: Show converted/total file counts (vor 5 Tagen) <Simon Ogorodnik>
* 468af0bb85 - J2K: Fix type parameters in LHS of callable reference (vor 5 Tagen) <Simon Ogorodnik>
* 96d0b1c47a - (tag: build-1.4.20-dev-2906, tag: build-1.4.20-dev-2887) Update serialization runtime and fix test data (vor 5 Tagen) <Leonid Startsev>
* a6a22d1cde - (tag: build-1.4.20-dev-2880) Revert "Populate Kotlin source set roots with KotlinSourceRootTypes" (vor 5 Tagen) <Nikolay Krasko>
* e263419088 - (tag: build-1.4.20-dev-2875) Populate Kotlin source set roots with KotlinSourceRootTypes (vor 5 Tagen) <Yaroslav Chernyshev>
* 4fb5f8603a - (tag: build-1.4.20-dev-2867) Keep $continuation in LVT (vor 5 Tagen) <Ilmir Usmanov>
* db40808186 - Minor. Remove unused SourceFrames (vor 5 Tagen) <Ilmir Usmanov>
* 70e91bd5db - Shrink and split LVT records of variables according to their liveness (vor 5 Tagen) <Ilmir Usmanov>
* e5995f0c12 - Update R8 (vor 5 Tagen) <Ilmir Usmanov>
* 60875f96b4 - Do not take LVT into account when calculating liveness of variables (vor 5 Tagen) <Ilmir Usmanov>
* 687d13a320 - (tag: build-1.4.20-dev-2858) IR: cleanup expression implementations (vor 5 Tagen) <Alexander Udalov>
* e36d3ba4f6 - IR: remove IrNoArgumentsCallableReferenceBase (vor 5 Tagen) <Alexander Udalov>
* f270cd8d6e - (tag: build-1.4.20-dev-2857) [FIR] Update testdata due to lack of callee reference in FirResolvedQualifier (vor 5 Tagen) <Dmitriy Novozhilov>
* f283f2db43 - [FIR] Improve diagnostic reporting & don't use error symbol for candidate if possible (vor 5 Tagen) <Dmitriy Novozhilov>
* 5c0528b61e - (tag: build-1.4.20-dev-2856) [Spec tests] Add tests for primary constructors declaration (vor 5 Tagen) <anastasiia.spaseeva>
* 0488dc985f - [Spec tests] Add tests for intersection and OR (vor 5 Tagen) <anastasiia.spaseeva>
* 46774fb6d6 - [Spec tests] Add call without an explicit receiver tests for top-level non-extension functions (vor 5 Tagen) <anastasiia.spaseeva>
* bef59055cd - [Spec tests] Fix test cases structure (vor 5 Tagen) <anastasiia.spaseeva>
* 4ad3847224 - [Spec tests] Add tests for subtyping rules for simple classifier type (vor 5 Tagen) <anastasiia.spaseeva>
* 1801344c76 - [Spec tests] Add tests for inner-and-nested-type-contexts section (vor 5 Tagen) <anastasiia.spaseeva>
* d5ddb26180 - [Spec tests] Add overload resolution tests for plus assign operator call (vor 5 Tagen) <anastasiia.spaseeva>
* 1d83c59e80 - [Spec tests] Actualize test for callable reference section (vor 5 Tagen) <anastasiia.spaseeva>
* 4db209648d - [Spec tests] Update spec version (vor 5 Tagen) <anastasiia.spaseeva>
* 3f862830f2 - [Spec tests] Add tests for resolving callable references and some co-tests (vor 5 Tagen) <anastasiia.spaseeva>
* cfbfec77a5 - [Spec tests] Add tests for Algorithm of MSC selection (vor 5 Tagen) <anastasiia.spaseeva>
* 73850e97d7 - [Spec tests] Add test for Coercion to Unit error diagnostics absence (vor 5 Tagen) <anastasiia.spaseeva>
* 26ac87d9be - [Spec tests] Update spec testData (vor 5 Tagen) <anastasiia.spaseeva>
* f240d51d2c - (tag: build-1.4.20-dev-2854) IR: do not inherit IrFakeOverride* from IrFunction/IrProperty (vor 5 Tagen) <Alexander Udalov>
* 4892737cc9 - Use IrFactory in kotlin-serialization-compiler (vor 5 Tagen) <Alexander Udalov>
* 0909894a96 - PIR: make most implementations and carriers internal (vor 5 Tagen) <Alexander Udalov>
* cce55f1609 - IR: add module ir.tree.impl, move main IR implementation there (vor 5 Tagen) <Alexander Udalov>
* 77247deb23 - IR: add module ir.tree.persistent, copy PIR implementation there (vor 5 Tagen) <Alexander Udalov>
* 9aed92d2dd - Partially revert "Persistent IR implementation" (vor 5 Tagen) <Alexander Udalov>
* 980b91d082 - (tag: build-1.4.20-dev-2850) JVM: generate 'Deprecated' on method as runtime-visible annotation (vor 6 Tagen) <Dmitry Petrov>
* 4fdccb3b35 - JVM_IR: don't generate repeated ElementType values in @Target (vor 6 Tagen) <Dmitry Petrov>
* c065210b56 - (tag: build-1.4.20-dev-2849) [Gradle, JS] Reuse task requirements (vor 6 Tagen) <Ilya Goncharov>
* 9a3ae4f4fa - [Gradle, JS] Common webpack configuration (vor 6 Tagen) <Ilya Goncharov>
* a2b26c00a1 - (tag: build-1.4.20-dev-2846) Uncommented ControlFlowAnalysisBenchmark (vor 6 Tagen) <vldf>
* fca0b7fedd - (tag: build-1.4.20-dev-2839) [FIR] Add CFA benchmark (vor 6 Tagen) <vldf>
* d7b3a86f5e - [FIR] Add "can be val" extended checker (vor 6 Tagen) <vldf>
* da6e96f4f1 - (tag: build-1.4.20-dev-2834) FIR2IR: don't declare dispatch receiver for local functions (vor 6 Tagen) <Jinseong Jeon>
* 5a3367e09c - (tag: build-1.4.20-dev-2829) FIR: initial support of suspend conversion for function reference (vor 6 Tagen) <Jinseong Jeon>
* b9243aad24 - (tag: build-1.4.20-dev-2827) Minor, fix test data in bytecodeListing/specialBridges (vor 6 Tagen) <Alexander Udalov>
* df324d5a08 - IR: pull up common accept/transform implementations to interfaces (vor 6 Tagen) <Alexander Udalov>
* 12d2a02d22 - JS IR: drop JsIrDeclarationBuilder (vor 6 Tagen) <Alexander Udalov>
* 0d605a6b7f - IR: create IrBlockBody via IrFactory (vor 6 Tagen) <Alexander Udalov>
* 9ad4a754ce - IR: create IrExpressionBody via IrFactory (vor 6 Tagen) <Alexander Udalov>
* d1dc938a5d - IR: use IrFactory in IR builders (vor 6 Tagen) <Alexander Udalov>
* 898dd20a9e - IR: use IrFactory in misc utils (vor 6 Tagen) <Alexander Udalov>
* f359f36ed9 - IR: add IrFactory to IrDeclaration, use in deep copy (vor 6 Tagen) <Alexander Udalov>
* 305288aa82 - IR: use IrFactory in psi2ir (vor 6 Tagen) <Alexander Udalov>
* 8c41ba8ee4 - IR: use IrFactory in fir2ir (vor 6 Tagen) <Alexander Udalov>
* 9356f87f28 - IR: use IrFactory in linker (vor 6 Tagen) <Alexander Udalov>
* db4cbe7103 - IR: use IrFactory in SymbolTable (vor 6 Tagen) <Alexander Udalov>
* c6a127e87e - IR: introduce IrFactory (vor 6 Tagen) <Alexander Udalov>
* 96968cd9c9 - (tag: build-1.4.20-dev-2825) Fix build after rebasing (vor 6 Tagen) <Kirill Shmakov>
* 96160cbb55 - (tag: build-1.4.20-dev-2821) Adapt AS wizard to changes in main wizard (vor 6 Tagen) <Kirill Shmakov>
* 5c8833f608 - Wizard: improve mobile app template (vor 6 Tagen) <Kirill Shmakov>
* 63fa6674a3 - Wizard: temporary add ios shortcut target (vor 6 Tagen) <Ilya Kirillov>
* f330cd3697 - Wizard: relocate AndroidManifest.xml for MPP module (vor 6 Tagen) <Ilya Kirillov>
* b3d48cda8c - Wizard: add common tests for iOS/Android template (vor 6 Tagen) <Ilya Kirillov>
* 5ffcaf6508 - Wizard: add shared code for iOS/Android template (vor 6 Tagen) <Ilya Kirillov>
* 66c756ad0f - Wizard: add ability for wizard to generate expected/actual declarations in MPP module (vor 6 Tagen) <Ilya Kirillov>
* 7d1036ee7e - Wizard: use property for storing module dependency (vor 6 Tagen) <Ilya Kirillov>
* dbc43b66bf - Wizard: introduce ModuleConfiguratorProperty (vor 6 Tagen) <Ilya Kirillov>
* 74d6919c7c - Wizard: wrap property into PluginProperty for plugin properties (vor 6 Tagen) <Ilya Kirillov>
* 3c3ba361e8 - Wizard: specify path for plugin entities in one place (vor 6 Tagen) <Ilya Kirillov>
* c05c72387e - Wizard: fix node js templates (vor 6 Tagen) <Ilya Kirillov>
* 63e2d771b3 - Get rid of reflection in new project wizard core: manually specify properties in plugins (vor 6 Tagen) <aleksandrina-streltsova>
* cc35529b9a - Wizard: get rid of reflection: specify plugin path by hand (vor 6 Tagen) <Ilya Kirillov>
* 3ed11c0491 - Wizard: get rid of reflection: force plugins to specify settings & tasks directly (vor 6 Tagen) <Ilya Kirillov>
* eadd3f00f2 - (tag: build-1.4.20-dev-2814) [FIR] Add CanBeReplacedWithOperatorAssignmentChecker (vor 6 Tagen) <vldf>
* fa8c6e7fb6 - (tag: build-1.4.20-dev-2813) Uast: KT-40578: resolve Kotlin property writes to setters (#3597) (vor 6 Tagen) <Kevin Bierhoff>
* 5851a7dea0 - (tag: build-1.4.20-dev-2809) [kotlinx-metadata-klib] Proper support for nullable enum entry fields (vor 6 Tagen) <Sergey Bogolepov>
* 45f0328f21 - (tag: build-1.4.20-dev-2803) scripting: preload scripting support plugins (vor 6 Tagen) <Sergey Rostov>
* b5e04378ed - scripting, ucache: don't init caches at start up (vor 6 Tagen) <Sergey Rostov>
* 43fcb2330e - (tag: build-1.4.20-dev-2794, tag: build-1.4.20-dev-2793) JVM_IR: fix source file name for mutlifile class facades (vor 7 Tagen) <Dmitry Petrov>
* 89a0b3e944 - Check class source in bytecode listing tests (vor 7 Tagen) <Dmitry Petrov>
* b47946cbba - (tag: build-1.4.20-dev-2792) Report interop functions with non-stable parameter names (vor 7 Tagen) <Dmitriy Dolovov>
* 3d9093583f - Metadata: 'non-stable parameter names' flag for callables (vor 7 Tagen) <Dmitriy Dolovov>
* 8cace2bab4 - (tag: build-1.4.20-dev-2791, tag: build-1.4.20-dev-2789) [Gradle, JS] Add tests on kotlin/js module with js files (vor 7 Tagen) <Ilya Goncharov>
* 0b88f457e8 - [Gradle, JS] Use .meta.js as source of "name" and "main" fields (vor 7 Tagen) <Ilya Goncharov>
* cca64b8fab - (tag: build-1.4.20-dev-2782) NI: use the inferred type to check of nullable array for vararg (vor 7 Tagen) <Victor Petukhov>
* 9d63412b3e - (tag: build-1.4.20-dev-2781) JVM IR: Produce correct generic signatures for special bridge methods (vor 7 Tagen) <Steven Schäfer>
* c16b548dff - JVM IR: Don't produce annotations on builtin stub, toArray, and bridge methods (vor 7 Tagen) <Steven Schäfer>
* f661b7604b - (tag: build-1.4.20-dev-2780, tag: build-1.4.20-dev-2775) KT-40557 Scratch: .kt files are treated as Kotlin scratches, opening fails (vor 7 Tagen) <Andrei Klunnyi>
* 0e46a980f6 - EA- 235760 // additional logging (vor 7 Tagen) <Andrei Klunnyi>
* c27453632e - EA-235769 // StringIndexOutOfBoundsException (vor 7 Tagen) <Andrei Klunnyi>
* 4afa50e081 - EA-235759 // NPE fix (vor 7 Tagen) <Andrei Klunnyi>
* 29281fd0bf - EA-235761 // NPE fix (vor 7 Tagen) <Andrei Klunnyi>
* e63951c38c - EA-235765 // NPE at refactoring suggestion (vor 7 Tagen) <Andrei Klunnyi>
* e8fd69fde1 - (tag: build-1.4.20-dev-2772) [formatter] fix infinite recursion (vor 7 Tagen) <Dmitry Gridin>
* b1173317c5 - (tag: build-1.4.20-dev-2770) Change scripting Severity enums to order from DEBUG to FATAL. (vor 7 Tagen) <Ryan Nett>
* 59f6c0c273 - (tag: build-1.4.20-dev-2767) Add flag for avoid double MPP gradle module resolve. (vor 7 Tagen) <Konstantin Tskhovrebov>
* 5444ffaf4b - (tag: build-1.4.20-dev-2761) [Gradle, JS] Deprecate produceExecutable (vor 7 Tagen) <Ilya Goncharov>
* d9c269ed6b - (tag: build-1.4.20-dev-2756) [Gradle, JS] Disable binaries.executable by default in wizard (vor 7 Tagen) <Ilya Goncharov>
* 8d1f9df802 - (tag: build-1.4.20-dev-2749) Do not show warning when multiple Gradle Definitions are loaded (vor 7 Tagen) <Natalia Selezneva>
* a62f65940d - (tag: build-1.4.20-dev-2747) Gradle, CocoaPods: Use synthetic dir as a working dir for pod gen (vor 7 Tagen) <Ilya Matveev>
* 7c3eda31fa - Gradle, CocoaPods: Fix non-compilable dummy header (vor 7 Tagen) <Ilya Matveev>
* 85908713b1 - Gradle, CocoaPods: Support pods with dashes in names (vor 7 Tagen) <Ilya Matveev>
2020-08-03 15:53:43 +02:00
2020-05-20 19:52:35 +07:00
2020-07-03 16:40:29 +02:00
2020-07-13 12:52:56 +02:00
2020-06-08 17:26:21 +03:00
2020-07-13 12:52:56 +02:00
2017-03-30 09:51:58 +03:00
2020-06-25 16:56:08 +07:00
2019-10-25 16:05:35 +03:00
2019-12-02 09:55:51 +03:00
2020-07-13 12:52:56 +02:00
2020-07-13 12:52:56 +02:00
2018-09-13 11:48:42 +03:00
2020-07-20 15:42:43 +07:00
2019-01-30 19:11:11 +03:00
2020-06-08 17:26:21 +03:00
2019-09-28 09:53:20 +03:00

official project version

Kotlin/Native

Kotlin/Native is an LLVM backend for the Kotlin compiler, runtime implementation, and native code generation facility using the LLVM toolchain.

Kotlin/Native is primarily designed to allow compilation for platforms where virtual machines are not desirable or possible (such as iOS or embedded targets), or where a developer is willing to produce a reasonably-sized self-contained program without the need to ship an additional execution runtime.

Prerequisites:

  • install JDK for your platform, instead of JRE. The build requires tools.jar, which is not included in JRE;
  • on macOS install Xcode 11 (Xcode 11.5 is required to compile Kotlin/Native from sources)
  • on Fedora 26+ yum install ncurses-compat-libs may be needed
  • on recent Ubuntu apt install libncurses5 is needed

To compile from sources use following steps:

First, download dependencies:

./gradlew dependencies:update

Then, build the compiler and libraries:

./gradlew bundle

To build with experimental targets support compile with -Porg.jetbrains.kotlin.native.experimentalTargets.

The build can take about an hour on a Macbook Pro. To run a shorter build with only the host compiler and libraries, run:

./gradlew dist distPlatformLibs

To include Kotlin compiler in composite build and build against it, use the kotlinProjectPath project property:

./gradlew dist -PkotlinProjectPath=path/to/kotlin/project

It's possible to include in a composite build both Kotlin compiler and Kotlin/Native Shared simultaneously.

After that, you should be able to compile your programs like this:

export PATH=./dist/bin:$PATH
kotlinc hello.kt -o hello

For an optimized compilation, use -opt:

kotlinc hello.kt -o hello -opt

For tests, use:

./gradlew backend.native:tests:run

To generate interoperability stubs, create a library definition file (refer to samples/tetris/.../sdl.def), and run the cinterop tool like this:

cinterop -def lib.def

See the provided samples and INTEROP.md for more details.

The Interop tool generates a library in the .klib library format. See LIBRARIES.md for more details on this file format.

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%