在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:sweet-js/sweet-core开源软件地址:https://github.com/sweet-js/sweet-core开源编程语言:JavaScript 100.0%开源软件介绍:Hygienic Macros for JavaScript! Macros allow you to build the language of your dreams. Sweeten JavaScript by defining new syntax for your code. Currently, Sweet should be considered experimental and under heavy development (re-development 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! Getting startedInstall the command line app with 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!') Learning More
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论