Announcing Sweet.js 1.0

// recursive form
macro foo { /* ... */ }
// non-recursive form
let foo = macro { /* ... */ }
// non-recursive form
syntax foo = function (ctx) { /* ... */ }
// recursive form
syntaxrec foo = function (ctx) { /* ... */ }

--

--

--

PL and web nerd. Made Sweet.js. Engineer at Shape Security.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tim Disney

Tim Disney

PL and web nerd. Made Sweet.js. Engineer at Shape Security.

More from Medium

Interfacing JACDAC Services on BBC micro:bit w/ Node.js & TypeScript

WebSocket

Creating an offline request queue with Capacitor & TSyringe

Electron: Getting Custom Error Messages from IPC Main