New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

toffee-lisp

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

toffee-lisp

ES6 Lisp using persistent hash array mapped tries

  • 0.0.11
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-52.94%
Maintainers
0
Weekly downloads
 
Created
Source

Toffee Lisp NPM version

Features

  • Persistent hash array mapped tries
  • Multi-arity functions
  • loop/recur
  • Destructuring

Install

Requires Node.js.

npm i toffee-lisp

Usage

REPL

node repl.js

Run a script

;; script.lisp

(defn yo [name]
  (str "what up " name))

(println (yo "dawg"))
$ node toffee.js script.lisp
what up dawg

Use in ES6 module

import {evalString} from "toffee-lisp"

// define a function
evalString('(defn add1 [n] (+ n 1))')

console.log(evalString('(add1 5)'))
// => 6

Test

node test/test.js

FAQs

Package last updated on 21 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc