parsley_scheme
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

parsley_scheme

Build Status NPM

A WASM implementation of Scheme. Exposes a class Context.

Example

const ctx = new Context();

const code = `
(define (sum-to n)
  (if (= n 0) 0 (+ n (sum-to (sub1 n)))))

(sum-to 5)
`;

console.log(ctx.run(code));
// 15

Readme

Keywords

none

Package Sidebar

Install

npm i parsley_scheme

Weekly Downloads

5

Version

0.1.1

License

MIT OR Apache-2.0

Unpacked Size

520 kB

Total Files

5

Last publish

Collaborators

  • fn_esc