\nDocumentation — Avisna Documentation
Docs/Overview/Documentation

LANGUAGE · VERIFIED

Control Flow

if / else

if x > 5 {
    return 1;
} else {
    return 0;
}

loop

loop {
    if x > 10 {
        break;
    }
}

while

while x < 10 {
    x = x + 1;
}

break and continue

Both are verified inside loop contexts. Negative tests also verify that they are rejected outside loops.

Tail expressions

fn add(a: f64, b: f64) -> f64 {
    a + b
}

TRACEABILITY

Related Evidence

Evidence references

Open a published source test or inspect the evidence index for source and report summaries. A source file demonstrates a test scenario; it does not imply complete coverage of the related behavior.

Browse the public evidence index →