Skip to content

ldct/isicp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 20, 2018
136a9ec · May 20, 2018
May 20, 2018
Feb 19, 2016
Apr 12, 2018
Jun 4, 2014
Jan 7, 2014
May 20, 2015
May 20, 2015
Mar 7, 2015
May 22, 2015
Feb 22, 2016
Feb 13, 2014
May 3, 2015
May 21, 2015
Jan 7, 2014
Feb 22, 2016

Repository files navigation

Interactive SICP

screenshot

Structure and Interpretation of Computer Programs now in an interactive textbook form!

Click on (almost) any code fragment to edit. Ctrl-Enter will re-run the script.

Contributing

NOTE: a lot of the code lives in a separate repository, web-worker-interpreter

This project is a work-in-progress and we need your help!

  • Report any bugs, typos etc that you find
  • Mark-up more code fragments and exercises! I'm currently in the middle of chapter 2-2
  • Write more exercise autograders!
  • Add new features!

The chapter and section files here will be generated by render_all.sh using files in content/ as input. Please make changes there.

todo

  • Display hints as to why user did not pass an exercise
  • Make code changes persist between page reloads by linking to a google account

Contributing

iSICP is built on the web-worker-interpreter/coding.js library. We use the CodeMirror editor and a custom scheme interpreter.

If you just wish to help port more of SICP to this site, here is how to create an interactive code fragment.

<div id="scheme-times-size">
(* 5 size)
</div>
<script>
prompt("scheme-times-size", ["scheme-define-size"]);
</script>

the div contains the initial text. The second argument to prompt is optional and specifies dependencies.

About

Interactive Structure and Interpretation of Computer Programs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages