Skip to content
/ s-exp Public

JavaScript with S Expression powered by tagged template string

Notifications You must be signed in to change notification settings

gyson/s-exp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s-exp

JavaScript with S Expression powered by tagged template string.

Why

For fun.

Rrerequisite

Node 4.x or babeljs.

Installation

$ npm install s-exp

Usage

const s = require('s-exp')
const assert = require('assert')

s`  
    (def a 1)
    (def b 2)

    (.equal ${assert} (+ a b) 3)

    (def sleep (fn [time]
                   (new Promise (fn [resolve]
                                    (setTimeout resolve time)))))
`

About

JavaScript with S Expression powered by tagged template string

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published