BSD 2-Clause "Simplified" License

项目介绍

sweet-js/sweet-core 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 BSD 2-Clause "Simplified" License 许可证,目前获得 4.6k 个 Star、210 次 Fork。

仓库全名
sweet-js/sweet-core
开源许可证
BSD 2-Clause "Simplified" License
Star 数
4.6k
Fork 数
210
未关闭 Issue
65

README 摘要

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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

sweet-core 用什么语言开发?

主要使用 JavaScript 编写,采用 BSD 2-Clause "Simplified" License 许可证,目前有 4.6k 个 Star。

sweet-core 可以免费商用吗?

仓库采用 BSD 2-Clause "Simplified" License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 sweet-core 的源码?

可以直接克隆仓库:git clone https://github.com/sweet-js/sweet-core.git;安装与运行步骤见仓库 README。

sweet-core 最近还在维护吗?

仓库最近一次更新为 2017年10月26日,当前有 65 个未关闭 Issue;Star 数为 4.6k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Sweeten your JavaScript.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
9538
价值分
3251
活跃状态
归档

语言占比

JavaScript

Release

README

Build Status

Join the chat at https://gitter.im/mozilla/sweet.js

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 started

Install 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

评论

暂无评论