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

Else-if written as elif or elsif.

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

An if goes on with else if.

example
type Count = Int {    min: 0}type Size = Text {}function size(count: Count) -> Size {    if (count > 100) {        return "large"    } elif (count > 10) {        return "medium"    }    return "small"}
text
error: Jadpo writes `else if`, not `elif` --> main.jadpo:10:7   |10 |     } elif (count > 10) {   |       ^^^^ write `else if`  reason: `elif` continues an `if` in Python, `elsif` in Ruby and `elseif` in PHP and Lua; Jadpo writes `else if`.  next: Use `else if` instead of `elif` (agent)  rule: syntax.else_if  help: https://jadpo.dev/docs/errors/syntax.else_ifcheck failed: 1 error, 1 file

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