Skip to content
1.0 Beta (1.0.4)

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)
hello.lucc
def const name (str) = "Luca"
print("Hello, {name}!")

-- $ luca hello.lucc
-- Hello, Luca!
Why Luca Code

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.

Editor

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.

VS Code with a Luca Code file open: syntax highlighting, the Run action in the editor title bar, and program output in the integrated terminal
Luca Code in VS Code — press Run, see output. From editors/vscode/images/run-file.png in the repository.
Example

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.

Status

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.