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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.00latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.00
0.6.30
0.6.20
0.6.10
0.6.00
0.5.40
0.5.30
0.5.20
0.5.10
0.5.00
0.4.60
0.4.50
0.4.40
0.4.30
0.4.20
0.4.10
0.4.00
0.3.20
0.3.10
0.3.00
0.2.00
0.1.30
0.1.20
0.1.10
0.1.00

Package Sidebar

Install

npm i lisp

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

14 kB

Total Files

15

Last publish

Collaborators

  • coderaiser