KopiLang

KopiLang

Write simple syntax that becomes Java code.

KopiLang is not replacement for Java, its designed to help beginners transition to Java with a more approachable and easy syntax. It also allows Java libraries to be seamlessly integrated. KopiLang is also open-source under GNU GPL v3 in GitHub for transparency and community contributions.

// Example
pub class Main {
    # This is the comment!
    // still valid comment, even javadoc etc!

    pub stc main(String[] args) { # Automatically void
        # Semicolons disabled as statement terminator
        # You have to make statements in one line
        println("Hello World! Imma gonna count from 1 to 100.")
        for (int i = 1; i <= 100; i++) {
            println("Number: " + i)
        }
    }
}
Get Started
Download the executable class file and begin.

KopiLang ships as a simple Java class file, seamlessly integrates with existing Java libraries . No separate ecosystem is needed, just run the class file with Java and transpile to existing Java output.

No external random ecosystem required

Use the class file directly with any JVM installation. No separate toolchain is needed.

Runs on Java

Transpiles source into Java, so you can build on the Java ecosystem and tooling you already know.

Simple workflow

Write source, compile it and get a .class file, and run the generated Java output.

Visit our Docs for more guides and info.
How to use
Start with KopiLang in a few steps.

Write your source, run the class file to transpile to Java, and execute the generated Java .class files on the JVM.

Step 1

Create a source file such as MyProgram.kpi with your KopiLang code. .kpi extension is mandatory. Code your program in KopiLang!

Step 2

Compile: java KopiLang MyProgram.kpi

Step 3

Execute the generated Java output .class file: java MyProgram command.

Download
Download KopiLang now.

Requires Java 26 or higher

Download the latest version of KopiLang (v1.0.0) and start coding in your favorite editor.

Download Latest Release

Looking for older versions? Check the releases page.