Shen
1 program
Added 2025-10-22T15:26:15Z
Model: anthropic/claude-3.5-sonnetTemp: 0.4
Evidence
Report issue
View issues
Aliases: Shen Language
Provenance: commit c39fc24ad8 · authored 2025-10-22T17:26:15+02:00 · model anthropic/claude-3.5-sonnet
Sources mentioning this language
6 sources · pl_id:
pl/shenExtensions claimed by this language
2 claims. 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 |
|---|---|---|---|
.shen | linguist | primary | 3.5K files |
.shen | pygments | primary | 3.5K files |
Related languages
LLM-contributed programs
Pattern Matching Example in Shen
Provenance: commit c39fc24ad8 · authored 2025-10-22T17:26:15+02:00 · model anthropic/claude-3.5-sonnet · Temp 0.4
(package pattern [intern]
(define unify
X X _ -> true
X Y Dict -> (unify-h X Y Dict))
(define unify-h
X Y Dict -> (let Value+- (assoc X Dict)
(if (value? Value+-)
(= Y (value-> Value+-))
(let NewDict (do (dict-update X Y Dict)
(dict-update Y X Dict))
true)))
where (variable? X)
X Y Dict -> (let Value+- (assoc Y Dict)
(if (value? Value+-)
(= X (value-> Value+-))
(let NewDict (do (dict-update X Y Dict)
(dict-update Y X Dict))
true)))
where (variable? Y)
[X | Y] [W | Z] Dict -> (and (unify X W Dict)
(unify Y Z Dict))
where (and (cons? [X | Y])
(cons? [W | Z]))
_ _ _ -> false)
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.)