Skip to content

Split Edition

martin-henz edited this page Apr 22, 2020 · 4 revisions

Requirements

For development & deployment:

  • node.js

The generated web pages are static and can be hosted on any standard web servers.

Overview

SICP Orginal-Javascript Adaption (Split edition) of the textbook is developed so as to ease the reviewing process for changes made in the Javascript Adaption.

The split edition is built on the foundation of the web edition.

Set up & Deployment

Run yarn install to install dependencies, then

yarn split

The generated html pages and assets are saved in html_split folder.

Development

The entire program is located at javascript. To test any changes made to the nodejs project, cd html_split && http-server --port=8080 to view the textbook on a local server, by visiting localhost:8080 with your browser.

For future developers, start with index.js and parseXmlHtml.js. Most of the remaining functions (helper functions) can be found being references from these two files.

Check the wiki page for Web Edition for further details.

Clone this wiki locally