@sweet-js/cli
v3.0.13
Published
Hygienic Macros for JavaScript
Downloads
92
Readme
sweet-cli
This is the command line package for sweet.js.
For more information about Sweet in general and to read the documentation, see the website.
Getting started
Install @sweet-js/cli via npm:
$ npm install -g @sweet-js/cli
Write your sweet code:
syntax hi = function (ctx) {
return #`console.log('hello, world!')`;
}
hi
And compile:
$ sjs my_sweet_code.js
console.log('hello, world!')