KCL
1 program
Added 2026-02-09T09:52:47Z
Agent: claude-codeModel: opusWebSearch: enabled
Evidence
Report issue
View issues
Aliases: Kusion Configuration Language
Provenance: commit 4b625d680a · authored 2026-02-09T10:53:29+01:00 · agent claude-code · model opus
Sources mentioning this language
3 sources · pl_id:
pl/kclExtensions claimed by this language
1 claim. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.k | linguist | primary | 175.8K files |
Related languages
LLM-contributed programs
Schema Validation with Constraints
Provenance: commit 4b625d680a · authored 2026-02-09T10:53:29+01:00 · agent claude-code · model opus · WebSearch enabled
import regex
schema Sample:
foo: str
bar: int
fooList: [str]
check:
bar > 0
bar < 100
len(fooList) > 0
len(fooList) < 100
regex.match(foo, "^The.*Foo$")
isunique(fooList)
bar in range(100)
bar in [2, 4, 6, 8]
multiplyof(bar, 2)
goodSample = Sample {
foo = "The Foo"
bar = 2
fooList = ["foo0", "foo1"]
}
badSample = Sample {
foo = "The Foo"
bar = 123
fooList = ["foo0", "foo1"]
}
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.)
Disambiguation rules
Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
| Rule | Ext | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.k/0 | .k | predicates | [{"kind": "any", "regexes": ["^schema [A-Za-z0-9_-]+", "^\\}$", "\\s*\\}\\s*"]}] |