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

constant.cycle

Constant's value depends on itself.

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

example
type Stock = Int {    min: 0}constant small_batch: Stock = large_batchconstant large_batch: Stock = small_batch
jadpo checkcheck failed: 1 error, 1 file

error large_batch depends on itself

--> main.jadpo:6:31

  |6 | constant large_batch: Stock = small_batch  |                               ^^^^^^^^^^^ leads back to it
reason
A constant's value is worked out from the constants it reads, and large_batch reads small_batch, which reads large_batch, so it has no value.
next
Write large_batch's value without reading a constant that reads it (agent)
rule
constant.cycle
help
https://jadpo.dev/docs/errors/constant.cycle

Markdown for agents: /docs/errors/constant.cycle.md.Built from Jadpo main at aee2e8f.