Kotlin Compiler

Open-source Kotlin projects categorized as Compiler

Top 8 Kotlin Compiler Projects

  • kotlin

    The Kotlin Programming Language.

    Project mention: Kotlin Native vs Rust (performance) | /r/Kotlin | 2023-05-24
  • kotlin-compile-testing

    A library for testing Kotlin and Java annotation processors, compiler plugins and code generation

    Project mention: Why don't you write unit tests and integration tests to ksp project | dev.to | 2023-01-11

    Strictly, it's not android integration test. In this section I defined integration test as ksp processing result confirmation. Unfortunately, there're no official support that for testing SymbolProcessorProvider. But we can apply similar test by using kotlin-compile-testing. This library supports ksp so we can easily do integration test. This library is used by multiple ksp project such as room, moshi and etc...

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support. Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • pikt

    :art: Image-based poetic programming language.

    Project mention: Godot 4.0 will discontinue visual scripting | /r/godot | 2022-08-23
  • prog8

    high level programming language and compiler targeting 6502 machines such as the C-64 and CommanderX16

    Project mention: Are my projects too ambitious for this machine? | /r/CommanderX16 | 2023-01-27

    Prog8 language which uses 64tass under the hood

  • klox

    A Kotlin implementation of lox with a JVM backend built using ProGuardCORE

    Project mention: Using Advent of Code to test C3 | /r/ProgrammingLanguages | 2022-12-12

    Last year I did the same: using my extended implementation of Lox. I didn't get so far in Advent of Code itself (only 4 days) since I spent much more time adding features to the language / standard library! Standard Lox as implemented in the Crafting Interpreters book is lacking many useful things including input reading, arrays, collections like sets & hash maps. Example: https://github.com/mrjameshamilton/klox/blob/master/examples/aoc-2021/advent-day01.lox

  • chi-compiler-kotlin

    Experimental language to try some ideas

  • lsif-kotlin

    SemanticDB generator for Kotlin

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • bf

    An optimizing brainf*ck compiler with multiple target backends: JVM, smali, dex, C, LLVM IR, ARM, WASM, JavaScript and Lox. (by mrjameshamilton)

    Project mention: Resources for generating and execution JVM bytecode | /r/ProgrammingLanguages | 2022-08-20

    I also used ProGuardCORE in a Brainfuck compiler that generates bytecode/classfiles in a jar: https://github.com/mrjameshamilton/bf/blob/master/src/main/kotlin/eu/jameshamilton/bf/backend/jvm/JvmCodeGenerator.kt

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-24.

Kotlin Compiler related posts


What are some of the best open-source Compiler projects in Kotlin? This list will help you:

Project Stars
1 kotlin 44,838
2 kotlin-compile-testing 548
3 pikt 115
4 prog8 101
5 klox 13
6 chi-compiler-kotlin 11
7 lsif-kotlin 9
8 bf 6
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.