Skip to content

Repository files navigation

SICP TS

Repository to accompany me in my study of "Structure and Interpretation of Computer Programs, JavaScript Edition". The exercise solutions are written as typescript tests, but are by no means complete, as some questions require an explanation rather than a test.

  • Covers chapters one and two

🚀 Start

For the sicp package you will need node version 16, and yarn

  1. Switch to Node.js v16.16.0 using nvm
nvm use

Switch to Node.js v16.16.0 using n

npm run use-node
  1. Start tsc in watch mode
npm run watch
  1. Start nodemon
npm run start

🧪 Tests

The following command executes all Jest test suites

npm run test

🔖 Update bookmark

Updates the link to the sourceacademy website

npm run bookmark <path segment(e.g. 2.3.4)>

🔧 Run eslint

npm run format

📑 Current bookmark

➜ Index: https://sourceacademy.org/sicpjs/
➜ Bookmark: https://sourceacademy.org/sicpjs/2.5.2

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages