A predictable language for modern workflows.
Quokka is a self-hosted, deterministic programming language designed for clarity, safety, and modern AI workflows. Featuring a high-performance Bytecode VM, ahead-of-time Static Type Checking, native preemptive concurrency, and the ATSRS tiered storage AI engine.
$ quokka --vm task.qka
Completed: Verify VM
Core Design Principles
Verifiable builds.
Quokka boots from a small C host (src/bootstrap, roughly 2,150 lines: a lexer, parser, and tree-walking interpreter) just once — Stage 0. Stage 0's only job is to run the canonical Quokka interpreter, which is itself written entirely in Quokka. From there, Quokka compiles Quokka.
Run quokka check-self and it re-bootstraps the interpreter through multiple stages, then compares cryptographic hashes of the AST and the output at each stage. If they match, self-hosting isn't a claim on this page — it's a number you can verify on your own machine.
Joey: ML integration without the bloat.
Joey is a standard library extension for AI and deep learning. It powers QLoRA fine-tuning and features ATSRS (Adaptive Tiered Storage for Resource-Starved training) to train models larger than physical VRAM and RAM across T0 VRAM, T1 pinned RAM, and T2 NVMe SSD storage.
import joey
let mut pipeline = joey.pipeline()
pipeline.load_model("meta-llama/Llama-3-8B", "4bit")
pipeline.train("quokka_dataset", 512)
let result = pipeline.run()
match result {
Ok(status) => println("Training complete! " ++ status),
Err(e) => println("Training failed: " ++ e),
}
Project Roadmap
Quokka v0.9.5 brings high-performance bytecode compilation, static type checking, native preemptive concurrency, ATSRS tiered storage for training large AI models, and complete cross-platform support. Quokka was built solo, from a small C bootstrap host up through a fully self-hosted compiler written in the language itself. It's open source under the MIT License — read the source, run the 100-way verifier yourself, and see exactly how it works.
If you'd like to contribute, start with the Contributing Guide.
Get started
Install
Extract the zip archive and manually add the folder to your system PATH.
Run
quokka run hello.qka
Documentation & Guides
Hello, Quokka
Install Quokka and run your first script in five minutes.
Native Concurrency
Spawn preemptive OS threads and pass typed messages through buffered channels with zero lock contention.
ATSRS Tiered Storage
Fine-tune large language models beyond physical VRAM and RAM limits using Joey's 3-tier memory hierarchy.
Quokka