Sweet.js
1 program
Added 2026-02-11T10:30:00Z
Agent: claude-code-recoveryModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Sweetjs
Provenance: commit b86b8465ff · authored 2026-02-11T13:26:45+01:00 · agent claude-code-recovery · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/sweetjsRelated languages
LLM-contributed programs
Function Macro Example
Provenance: commit b86b8465ff · authored 2026-02-11T13:26:45+01:00 · agent claude-code-recovery · model sonnet · WebSearch disabled
syntax function = function (ctx) {
let name = ctx.next().value;
let params = ctx.next().value;
let body = ctx.next().value;
return #`function ${name} ${params} ${body}`;
}
function add(a, b) {
return a + b;
}
console.log(add(2, 3));
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.)