JSPM

  • Created
  • Published
  • Downloads 27
  • Score
    100M100P100Q82984F
  • License Apache-2.0

SICP library

Package Exports

  • sicp

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sicp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Open-source implementations of the programming language Source. Source is a series of small subsets of JavaScript, designed for teaching university-level programming courses for computer science majors, following Structure and Interpretation of Computer Programs, JavaScript Adaptation (https://source-academy.github.io/sicp/).

Setting up and Using SICP library

First, install the package

$ npm i sicp

Remember to create file package.json first if you have not by

$ npm init

To use SICP library, you need to import by

import './node_modules/sicp/dist/sicp.js';

For example,

import './node_modules/sicp/dist/sicp.js';

const p = list("I", "love", "sicp");
display(head(tail(p)));