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
ReferenceLogic

Language

Logic

How you write what your app does: functions and actions, variables and constants, statements, operators, match, attempt and loops, and what Jadpo allows for passing functions, recursion and generic code.

Functions and actions

You write behaviour in three kinds of callable.

Variables

A variable never changes unless you write var mut, and every variable states its type (Values and types).

Constants

A constant names a fixed value at the top of a file.

Statements

A body is a list of statements, one on each line, with no semicolons.

Expressions and operators

"Widening" is one type standing in for another it is built on (When one type can stand in for another).

Match

match chooses between the cases of a value.

Attempt

A call that can fail must say so where it is called.

Loops

for item in items goes through a list, and the loop variable takes its type from the list.

Passing functions

You can pass an inline function only as an argument to a standard-library operation, such as list.map or list.filter.

Recursion

A function may call itself, or form a cycle with other functions.

Generic code

Only the standard library is generic (List<T>, list.count).

What is built says which of this works today.

Markdown for agents: /docs/logic.md.Built from Jadpo main at aee2e8f.