Bolt
1 program
Added 2026-03-11T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit dc8af91ffb · authored 2026-03-11T22:44:26+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
2 sources · pl_id:
pl/boltRelated languages
LLM-contributed programs
Concurrent Counter
Provenance: commit dc8af91ffb · authored 2026-03-11T22:44:26+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
class Counter {
capability linear Counter;
var value : int;
method increment(cap linear Counter this) : void {
this.value := this.value + 1
}
method get(cap read Counter this) : int {
this.value
}
}
finish {
let c = new Counter { value = 0 };
finish {
spawn { c.increment() }
spawn { c.increment() }
};
printf("%d\n", c.get())
}
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)