Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 30 Oct 2026. What's built · Install 0.1.0
jadpo
Reference: Logic

Logic · rule

syntax.variable_keyword

Variable declared with let, const or val.

Area 3, Logic; not declinable; the next step is usually the agent's.

A variable is var name: Type = value, or var mut when it can change.

example
type Count = Int {    min: 0}function same(count: Count) -> Count {    let kept: Count = count    return kept}
text
error: Jadpo writes `var`, not `let` --> main.jadpo:6:5  |6 |     let kept: Count = count  |     ^^^ write `var`  reason: `let` declares a variable in JavaScript, TypeScript, Swift and Rust; a Jadpo variable is `var name: Type = value`, or `var mut` when it can change.  next: Use `var` instead of `let` (agent)  rule: syntax.variable_keyword  help: https://jadpo.dev/docs/errors/syntax.variable_keywordcheck failed: 1 error, 1 file

Markdown for agents: /docs/errors/syntax.variable_keyword.md.Built from Jadpo main at a707efb.