{"adoption": {"forks": 210, "observed_at": "2026-08-28T04:08:53.445377+00:00", "stars": 4559}, "canonical_url": "https://ross.abutalabs.com/products/sweet-core", "card": {"archived": true, "artifact_type": "library", "description": "Sweeten your JavaScript.", "domain": ["programming-languages", "compilers", "developer-tools", "web-development"], "enriched": true, "function": ["compiler", "parser", "programming-language", "developer-tools"], "health_score": 10, "homepage": "https://www.sweetjs.org", "language": "JavaScript", "license": "BSD-2-Clause", "license_family": "permissive", "maturity": "experimental", "member_repos": ["sweet-js/sweet-core"], "name": "sweet-js/sweet-core", "platform": ["cli", "cross-platform"], "pushed_at": "2017-10-26T12:24:08+00:00", "repo": "sweet-js/sweet-core", "stars": 4559, "tags": ["macros", "hygienic-macros", "javascript", "syntax-extension", "transpiler", "nodejs"], "topics": ["javascript", "macros", "parser"], "urls": [], "use_cases": ["define custom syntax for javascript", "create hygienic macros in js", "build a custom dsl on top of javascript", "extend javascript language syntax", "compile sweet.js macros to javascript"], "what_it_is": "Sweet.js is a JavaScript macro system that brings hygienic macros (like those in Scheme and Rust) to JavaScript, letting developers define new syntax and extend the language. It ships as a compiler library and CLI (`sjs`) that transforms sweetened code into plain JavaScript.", "when_to_avoid": ["you need a production-stable tool with a frozen API", "you need an actively maintained project (last release was 2017)", "you just need standard JavaScript tooling without syntax extension"], "when_to_choose": ["you want to add new syntax or language features to JavaScript", "you're building a DSL that compiles to JavaScript", "you're experimenting with language design and macro systems"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sweet-core", "repo": "sweet-js/sweet-core", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:53.445377+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:20:01.101089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb5e78b5c0b017562bf00152c9a6f20ef592890bd60e645d9756c6006b92bc83", "fetched_at": "2026-08-28T04:08:53.445377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sweet-js/sweet-core"}, {"content_hash": "aebc558cf6a57174c1648bed1764a9030479bdd014ef7524843affe92fc4aae8", "fetched_at": "2026-08-29T09:05:43.443299+00:00", "kind": "homepage", "missing": false, "url": "https://www.sweetjs.org"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:53.445377+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:20:01.101089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb5e78b5c0b017562bf00152c9a6f20ef592890bd60e645d9756c6006b92bc83", "fetched_at": "2026-08-28T04:08:53.445377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sweet-js/sweet-core"}, {"content_hash": "aebc558cf6a57174c1648bed1764a9030479bdd014ef7524843affe92fc4aae8", "fetched_at": "2026-08-29T09:05:43.443299+00:00", "kind": "homepage", "missing": false, "url": "https://www.sweetjs.org"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:20:01.101089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb5e78b5c0b017562bf00152c9a6f20ef592890bd60e645d9756c6006b92bc83", "fetched_at": "2026-08-28T04:08:53.445377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sweet-js/sweet-core"}, {"content_hash": "aebc558cf6a57174c1648bed1764a9030479bdd014ef7524843affe92fc4aae8", "fetched_at": "2026-08-29T09:05:43.443299+00:00", "kind": "homepage", "missing": false, "url": "https://www.sweetjs.org"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:53.445377+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:53.445377+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:53.445377+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:20:01.101089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb5e78b5c0b017562bf00152c9a6f20ef592890bd60e645d9756c6006b92bc83", "fetched_at": "2026-08-28T04:08:53.445377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sweet-js/sweet-core"}, {"content_hash": "aebc558cf6a57174c1648bed1764a9030479bdd014ef7524843affe92fc4aae8", "fetched_at": "2026-08-29T09:05:43.443299+00:00", "kind": "homepage", "missing": false, "url": "https://www.sweetjs.org"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:53.445377+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:53.445377+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:20:01.101089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb5e78b5c0b017562bf00152c9a6f20ef592890bd60e645d9756c6006b92bc83", "fetched_at": "2026-08-28T04:08:53.445377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sweet-js/sweet-core"}, {"content_hash": "aebc558cf6a57174c1648bed1764a9030479bdd014ef7524843affe92fc4aae8", "fetched_at": "2026-08-29T09:05:43.443299+00:00", "kind": "homepage", "missing": false, "url": "https://www.sweetjs.org"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:53.445377+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:53.445377+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:53.445377+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:20:01.101089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb5e78b5c0b017562bf00152c9a6f20ef592890bd60e645d9756c6006b92bc83", "fetched_at": "2026-08-28T04:08:53.445377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sweet-js/sweet-core"}, {"content_hash": "aebc558cf6a57174c1648bed1764a9030479bdd014ef7524843affe92fc4aae8", "fetched_at": "2026-08-29T09:05:43.443299+00:00", "kind": "homepage", "missing": false, "url": "https://www.sweetjs.org"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:53.445377+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:53.445377+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:20:01.101089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb5e78b5c0b017562bf00152c9a6f20ef592890bd60e645d9756c6006b92bc83", "fetched_at": "2026-08-28T04:08:53.445377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sweet-js/sweet-core"}, {"content_hash": "aebc558cf6a57174c1648bed1764a9030479bdd014ef7524843affe92fc4aae8", "fetched_at": "2026-08-29T09:05:43.443299+00:00", "kind": "homepage", "missing": false, "url": "https://www.sweetjs.org"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:20:01.101089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb5e78b5c0b017562bf00152c9a6f20ef592890bd60e645d9756c6006b92bc83", "fetched_at": "2026-08-28T04:08:53.445377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sweet-js/sweet-core"}, {"content_hash": "aebc558cf6a57174c1648bed1764a9030479bdd014ef7524843affe92fc4aae8", "fetched_at": "2026-08-29T09:05:43.443299+00:00", "kind": "homepage", "missing": false, "url": "https://www.sweetjs.org"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:20:01.101089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb5e78b5c0b017562bf00152c9a6f20ef592890bd60e645d9756c6006b92bc83", "fetched_at": "2026-08-28T04:08:53.445377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sweet-js/sweet-core"}, {"content_hash": "aebc558cf6a57174c1648bed1764a9030479bdd014ef7524843affe92fc4aae8", "fetched_at": "2026-08-29T09:05:43.443299+00:00", "kind": "homepage", "missing": false, "url": "https://www.sweetjs.org"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:20:01.101089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb5e78b5c0b017562bf00152c9a6f20ef592890bd60e645d9756c6006b92bc83", "fetched_at": "2026-08-28T04:08:53.445377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sweet-js/sweet-core"}, {"content_hash": "aebc558cf6a57174c1648bed1764a9030479bdd014ef7524843affe92fc4aae8", "fetched_at": "2026-08-29T09:05:43.443299+00:00", "kind": "homepage", "missing": false, "url": "https://www.sweetjs.org"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5145, "days_push": 3233, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}