Experimental prototype-based programming language

A small set of composable mechanisms.

Protos is built around objects, slots, delegation, messages, execution contexts, closures, Futures, and Actors. There are no classes: objects delegate directly to other objects.

Core language: experimentalReference implementation: active developmentLatest published prerelease
  • Native: Linux x86_64, no external JDK. Check the current release requirements.
  • Portable JVM:Download portable distribution. Requires the supported external GraalVM/JDK.
  • Core language remains experimental.
Objects delegate directlyfirst look
animal: {
    alive: true

    speak: () => {
        print(name)
    }
}

dog: animal {
    name: "Rex"
}

dog.speak()

dog delegates to animal. The inherited closure runs with dog as its receiver.

Your first program

Try Protos.

Use the official Protos installer to select, verify and install a compatible published Native prerelease from GitHub.

Download the installer with curl; it checks its required system tools and platform compatibility before installation.

Native Linux x86_64 — recommended

No external JDK. The official installer checks the release's glibc and CPU requirements.

Terminal
curl -fsSLo protos-install.sh 'https://raw.githubusercontent.com/guillermomolina/protos/main/dist/install.sh'
sh protos-install.sh
"$HOME/.local/bin/protos" --version
"$HOME/.local/bin/protos" -e 'print("Hello, Protos!")'

Portable JVM — compatibility fallback

Requires the supported external GraalVM/JDK. Java is not bundled. Check the current release notes.

The official install.sh installs Native, not Portable JVM. For this manual alternative, download the ZIP and its adjacent SHA-256 file from the same release using the links above. Verify the ZIP with sha256sum -c, then extract it with unzip.

Set JAVA_HOME to your supported GraalVM/JDK, or select that runtime using PROTOS_JAVA or PATH. The launcher checks RUNTIME.txt.

For VS Code, Dev Containers and further examples,explore the documentation.

Why Protos?

Fewer independent semantic rules.

The design aims to grow through composition rather than by adding a new language institution for every new capability.

One object-and-slot model

Ordinary object state, module bindings, and lexical bindings all use slots instead of unrelated storage concepts.

Creation is not modification

The language keeps intent explicit: : creates a slot, while = modifies an existing eligible slot.

Closures are the executable value

Methods are an invocation role of closures, not a second callable value category.

Scale by composition

Futures, structured tasks, isolated parallel execution, and Actors extend the same object/message/closure universe.

One universe

Objects, slots, delegation, contexts.

Protos deliberately separates lexical lookup from receiver delegation while reusing the same slot mechanism. Reads may delegate; writes do not silently mutate an ancestor prototype.

Explore the design philosophy →

Project milestones

Latest news.

Official announcements from GitHub Discussions, updated automatically without rebuilding this website.

Latest announcements are available on GitHub Discussions.

Browse all announcements on GitHub →

GitHub project activity

Active development.

Recent open Issues and workflow runs. These are sampled signals, not a changelog or a statement that the full test suite passed.

Start here

Read, run, then go deeper.