{"id":13527570,"url":"https://github.com/sweet-js/sweet-core","last_synced_at":"2025-12-17T00:04:43.183Z","repository":{"id":4149617,"uuid":"5263633","full_name":"sweet-js/sweet-core","owner":"sweet-js","description":"Sweeten your JavaScript.","archived":false,"fork":false,"pushed_at":"2017-10-26T12:24:08.000Z","size":24719,"stargazers_count":4574,"open_issues_count":66,"forks_count":209,"subscribers_count":129,"default_branch":"master","last_synced_at":"2025-05-05T14:16:50.262Z","etag":null,"topics":["javascript","macros","parser"],"latest_commit_sha":null,"homepage":"https://www.sweetjs.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sweet-js.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.BSD","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-01T19:26:02.000Z","updated_at":"2025-04-16T07:50:19.000Z","dependencies_parsed_at":"2022-07-05T11:03:05.876Z","dependency_job_id":null,"html_url":"https://github.com/sweet-js/sweet-core","commit_stats":null,"previous_names":["sweet-js/sweet.js","mozilla/sweet.js"],"tags_count":44,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweet-js%2Fsweet-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweet-js%2Fsweet-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweet-js%2Fsweet-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweet-js%2Fsweet-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sweet-js","download_url":"https://codeload.github.com/sweet-js/sweet-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235696,"owners_count":22036963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","macros","parser"],"created_at":"2024-08-01T06:01:52.371Z","updated_at":"2025-12-17T00:04:43.137Z","avatar_url":"https://github.com/sweet-js.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","javascript"],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/sweet-js/sweet.js.svg)](https://travis-ci.org/sweet-js/sweet.js)\n\n[![Join the chat at https://gitter.im/mozilla/sweet.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mozilla/sweet.js?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nHygienic Macros for JavaScript!\n\nMacros allow *you* to build the language of your dreams. Sweeten JavaScript by defining new syntax for your code.\n\nCurrently, Sweet should be considered experimental and under heavy development ([re-development](https://medium.com/@disnet/announcing-sweet-js-1-0-e7f4f3e15594#.fo9kyqu48) more like). As such, the API will be undergoing a bit of churn until probably the end of the year. So, probably best not to try Sweet in production systems just yet. If you're interested in helping out though we'd love to have you!\n\n# Getting started\n\nInstall the command line app with npm:\n\n```sh\n$ npm install -g @sweet-js/cli\n```\n\nWrite your sweet code:\n\n```js\nsyntax hi = function (ctx) {\n  return #`console.log('hello, world!')`;\n}\nhi\n```\n\nAnd compile:\n\n```sh\n$ sjs my_sweet_code.js\nconsole.log('hello, world!')\n```\n\n# Learning More\n\n* Read the [tutorial](http://sweetjs.org/doc/1.0/tutorial.html).\n* Read the [reference documentation](http://sweetjs.org/doc/1.0/reference.html).\n* Play with the [editor](http://sweetjs.org/browser/editor.html).\n* Discuss on [Google Groups](https://groups.google.com/forum/#!forum/sweetjs).\n* Hang out on IRC: #sweet.js at irc.mozilla.org and on [Gitter](https://gitter.im/sweet-js/sweet.js).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsweet-js%2Fsweet-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsweet-js%2Fsweet-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsweet-js%2Fsweet-core/lists"}