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.condition_brackets

Condition is not in brackets.

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

example
type Count = Int {    min: 0}type Size = Text {}function size(count: Count) -> Size {    if count > 10 {        return "large"    }    return "small"}
text
error: This condition needs brackets --> main.jadpo:8:8  |8 |     if count > 10 {  |        ^^^^^^^^^^ expected `(` before the condition  reason: Conditions are always in brackets, `if (total > limit) {`, so the block can't be mistaken for part of the condition.  next: Write `if (count > 10) {` (agent)  rule: syntax.condition_brackets  help: https://jadpo.dev/docs/errors/syntax.condition_bracketscheck failed: 1 error, 1 file

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