Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 5 Nov 2026. What's built · Install 0.3.0
jadpo
ReferenceErrors

ErrorsLogic · 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"}
jadpo checkcheck failed: 1 error, 1 file

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_if

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