runlet 0.1.0

A semantic executable model for the Runlet orchestration language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Runtime compute failures can be caught without any host-provided tools.
divisor = 0

outcome = boundary retry 2 {
    quotient = 100 / divisor
    return { ok: true, quotient }
} catch err {
    return {
        ok: false,
        code: err.code,
        message: err.message,
        attempts_used: err.attempt + 1
    }
}

return outcome