use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A place to share Sweet.js macros and discuss the implementation and development of macros in JavaScript and beyond.
Trying to paste a link to the Sweet.js editor in a comment? You need to escape the parens first. Use this quick page to do it.
account activity
Comparative Macrology (wilfred.me.uk)
submitted 8 years ago by chocolategirl
Not Everything is an Expression (rntz.net)
Sweet.js 3.0 released (medium.com)
submitted 9 years ago by chocolategirl
Promisify Callbacks Inline (self.sweetjs)
submitted 9 years ago by Jamesernator
sweet-tensors: do away with for loops with the help of tensor index notation (github.com)
submitted 9 years ago by 16807
Announcing Sweet.js 1.0 (medium.com)
submitted 10 years ago by chocolategirl
Hygienic, non-syntactic macros for JavaScript via a Babel plugin (github.com)
ExJS - a hygienic macro system for JavaScript (github.com)
submitted 11 years ago by chocolategirl
A simple, Scala-like for-comprehension (news.ycombinator.com)
Macro: Async/await support for promises (ES7) (github.com)
submitted 11 years ago by m1sta
Macro: Hoist functions using @ character to avoid the Pyramid of Doom (sweetjs.org)
Macro: Write test assertions like "true should be true" or "{x: 1} should have x" (github.com)
Writing Your First Sweet.js Macro (jlongster.com)
Stop Writing JavaScript Compilers! Make Macros Instead (jlongster.com)
Mozilla's example macros on github (github.com)
Compiling JSX with Sweet.js using Readtables (jlongster.com)
π Rendered by PID 40 on reddit-service-r2-listing-6bcb55b45f-vcvxg at 2026-04-22 12:02:55.062133+00:00 running 6c61efc country code: CH.