Juno

A C-like programming language for the JVM

Familiar C-like Syntax

Juno brings the simplicity and clarity of C to the JVM. If you know C, you'll feel right at home with Juno's straightforward syntax and modern features.

import Io;

void main() {
  Io.println("Hello, Juno!");
}

Variant Types

Juno supports variant types (union types) allowing a variable to hold values of different types. Write flexible, type-safe code without complex inheritance hierarchies.

import Io;

void main() {
  string|int x = 42;  // x is an integer
  x = "hello";           // now x is a string
  Io.println(x);
}

Simple Tooling

Juno's compiler is straightforward and intuitive. Build, run, and compile to JVM bytecode with simple commands. No complex build systems required.

$ juno run hello.juno
Hello, Juno!

$ juno build program.juno
$ java program

Get Started

Install Juno with a single command:

bash <(curl -fsSL https://raw.githubusercontent.com/LoPalma/juno-lang/main/install.sh)

Once installed, create your first project:

$ juno init my-project
$ cd my-project
$ juno run src/main.juno