s-exp
v0.0.1
Published
JavaScript with S Expression powered by tagged template string
Downloads
2
Readme
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)))))
`