(learn 'scheme)
Pleasantly surprised to see this on HN! This is an old (and incomplete) project of mine to reformat Structure and Interpretation of Computer Programs into a browser-friendly format, with a built-in code editor and interpreter [1].<p>I think today, you can use Racket in its special SICP mode to get a much better experience. But maybe the HTML (Bootstrap) formatting is a little nicer to read (and with the bonus that it probably works on phones).<p>The interpreter was incomplete and written from scratch, as a learning project [2]. This was done in the pre-WebAssembly days, so I couldn't just recompile, say, a Scheme written in C for use in the browser.<p>If I recall correctly, I took the SICP source files, ran a bunch of regular expressions on them to convert the content into XML [3], and then used XSLT to generate the web pages [1]. I was really into XSLT at the time :)<p>Anyway, hope people find this useful! It's outdated and incomplete, and the interpreter has an odd implementation, but it was a fun project.<p>Source code links:<p>[1] HTML generator: <a href="https://github.com/jaredkrinke/learn-scheme">https://github.com/jaredkrinke/learn-scheme</a><p>[2] Interpreter: <a href="https://github.com/jaredkrinke/jslisp">https://github.com/jaredkrinke/jslisp</a><p>[3] SICP-to-XML converter: <a href="https://github.com/jaredkrinke/sicp-reformatter">https://github.com/jaredkrinke/sicp-reformatter</a>