Plain sentences. Exact numbers. No ceremony.
A small, friendly, general-purpose programming language with exact decimal math and plain-language errors. If you can describe it in sentences, you can program it.
bash <(curl -fsSL https://raw.githubusercontent.com/LucaEcosystem/luca-code/main/scripts/install.sh)
def const name (str) = "Luca"
print("Hello, {name}!")
-- $ luca hello.lucc
-- Hello, Luca!
Why Luca Code.
Not slogans — the actual, checkable behavior of the 1.0 Beta.
Exact decimals, not floating-point surprises
10 / 4 is 2.5, and 0.1 + 0.2 prints 0.3. Division never truncates and decimals keep the digits you wrote.
Errors you can act on
Diagnostics point to the exact line and column in plain language: Error at 2:5: 'visits' is not declared.
Small and self-contained
The reference interpreter has no external crate dependencies — it builds with the Rust standard library alone.
Editor-ready
The VS Code extension adds highlighting, snippets, one-key run, and check-only validation for .lucc files.
See it in your editor.
Real screenshot from the luca-code repository — not a mockup. One-key run, output in the integrated terminal, clickable Error at line:column diagnostics.
A taste of the language.
Every snippet in the docs is runnable; the gallery ships one program per feature with the output it actually prints.
def list names (str) = ["Luca", "Alex"]
names.add("Sam")
for name from names repeat :
print("Hi, {name}")
def func total(prices (int)) (int):
return prices * 2 + 1
print(total(10))
Hi, Luca
Hi, Alex
Hi, Sam
21
Learn and use.
Read in this order — nothing is presupposed beyond a terminal.
Install
Get luca running on macOS, Linux, or Windows — one line, or clone first.
First program
Two minutes, start to first output.
The guided tour
Twelve short chapters from values to custom errors — every snippet runnable.
Reference
The complete language reference, standard library, CLI, and glossary.
Honest status.
1.0 Beta — feature-complete for the 1.0 target, under validation toward 1.0
The known-limitations page lists what is deliberately not implemented — no casts or implicit coercion, no overloading or keyword arguments, single-line strings, ASCII identifiers, a 28-digit decimal scale, and explicit safety limits (64 recursion frames, 32 nesting levels) that produce diagnostics instead of crashing. Nothing is promised that the binary doesn't do.
Get started.
One line installs the CLI and builds it from source — installing Rust first if needed. Then your first program is two minutes away.