GithubHelp home page GithubHelp logo

kit's Introduction

Kit core

A super set of sibilant which introduces es6 features and interfaces. The core to a full tool kit of meta language magic, with js.

Getting started

npm install --save kit;

to use in a sibilant script:

(include "kit/header")
(import-namespace kit)

ES6 features added

Arrow functions!

(=> (a) a)

is equivalent to

a => a

Classes

They're in here some where.

New object litteral syntax

(var x (lit (def add1 (a) (+ a 1))))
var x = {
    add1(a) {
        return a + 1;
    } 
}
(var x (lit (a 10) (b 5) (gett c (Math.sqrt (+ (Math.sqr this.a) (Math.sqr this.b ))) )))
var x = {
   a : 10,
   b : 5,
   get c () {
       return Math.sqrt (Math.sqr( this.a) + Math.sqr (this.b));
   }
   
}

and a lot more.

kit's People

Contributors

riatzukiza avatar

Stargazers

 avatar Fabien Bourgeois avatar Christian Meredith avatar anonymous anonymous avatar  Matthew Phillips avatar

Watchers

Jacob Rothstein avatar  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.