GithubHelp home page GithubHelp logo

liuyanghejerry / sweet-core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sweet-js/sweet-core

0.0 1.0 0.0 23.97 MB

Sweeten your JavaScript.

Home Page: http://sweetjs.org

License: BSD 2-Clause "Simplified" License

HTML 0.71% CSS 0.49% JavaScript 98.81%

sweet-core's Introduction

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

sweet-core's People

Contributors

disnet avatar natefaubion avatar gabejohnson avatar levjj avatar jlongster avatar bopjesvla avatar hax avatar srikumarks avatar shvaikalesh avatar puffnfresh avatar carlqlange avatar jayphelps avatar int3 avatar andreypopp avatar ashwin02 avatar escalant3 avatar duncanbeevers avatar magnetised avatar gnclmorais avatar lantiga avatar mdaverde avatar matthewrobb avatar iammerrick avatar paxa avatar parndt avatar prayagverma avatar gitter-badger avatar tombyrer avatar tuchida avatar

Watchers

liuyanghejerry avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.