Skip to content
Nexivion Labs

Sarmal Library · orchestration

Loop

recurring work: it turns on a trigger, drives its `⟦koşar⟧` chain, and STOPS on `⟦durunca⟧` or `⟦turLimiti⟧`; a loop with no way out cannot be written

Family
orchestration
.sar
Döngü

Fields

FieldTypeRequired
code·Required
trigger

Allowed values: koşulelolayzaman

enumRequired
runs·Required
stopWhen·Optional
maxRoundsnumberOptional
what·Optional
name·Optional
boundary·Optional

Rule

An exit condition is mandatory IN THE SCHEMA: a Loop cannot be built without at least one of the `stopWhen` and `maxRounds` fields, so a loop that cannot stop itself is rejected at the front door of the language. The run record is kept under `.sarmal/trace`.

Back to the Library

Source: SNF-0 v0.6 · Seal 8031fb8fcffc113a