frisk

a lisp, kind of

npm install frisk
2 downloads in the last week
4 downloads in the last month

Build Status

frisk

a lisp, kind of. all expressions are valid JSON-serializable javascript objects.

['/', 2, 1] // => 2
['*', 2, 2] // => 4
['-', 2, 2] // => 0
['+', ['+', 1, 1], 1] // => 3
[1, 2, 3] // => [1, 2, 3]
['@foo'] // => ['foo']
['let', [['foo', 1]], ['foo']] // => 1
[['lambda', ['x'], ['x', 'x']], 1] // => [1, 1]
[['lambda', ['x'], ['+', 'x', 'x']], 1] // => 2

Usage

npm install --save frisk

web console: http://macwright.org/frisk/

see also

npm loves you