lisp

1.0.0 • Public • Published

Lisp License NPM version Dependency Status Build Status

Simple lisp implementation. Could be used in browser as global lisp, node.js environment or bundled with help of browserify.

Install

npm i lisp

How to use?

const lisp = require('lisp');
 
lisp('(+ 1 2 3 4');
// returns
10
 
lisp('(+ "hello" " world"');
// returns
'hello world'
 
lisp ('(+ 5 (* 2 2) (/ 4 2))');
// returns
11
 
lisp('(head \'(1 2 3 4)');
// returns
1
 
lisp('(tail \'(1 2 3 4)');
// returns
[2, 3, 4]
 

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i lisp

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

14 kB

Total Files

15

Last publish

Collaborators

  • coderaiser