https://github.com/joeltg/mit-scheme-kernel
Jupyter Kernel for MIT Scheme
https://github.com/joeltg/mit-scheme-kernel
jupyter kernel mit-scheme scheme
Last synced: 2 months ago
JSON representation
Jupyter Kernel for MIT Scheme
- Host: GitHub
- URL: https://github.com/joeltg/mit-scheme-kernel
- Owner: joeltg
- License: mit
- Created: 2017-03-16T19:02:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-02-20T18:11:37.000Z (over 5 years ago)
- Last Synced: 2025-04-18T18:25:05.318Z (2 months ago)
- Topics: jupyter, kernel, mit-scheme, scheme
- Language: Scheme
- Size: 165 KB
- Stars: 68
- Watchers: 5
- Forks: 7
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mit-scheme-kernel
Jupyter Kernel for MIT Scheme

## Installation
### Docker
[Kevin Kwok](https://github.com/antimatter15) published a [docker image](https://hub.docker.com/r/kkwok/jupyter-mit-scheme/) that does all the things:
```
docker run -it --rm -p 8888:8888 kkwok/jupyter-mit-scheme
```### Source
First get MIT Scheme:
```
$ wget https://ftp.gnu.org/gnu/mit-scheme/stable.pkg/10.1.5/mit-scheme-10.1.5-x86-64.tar.gz
$ tar xvf mit-scheme-10.1.5-x86-64.tar.gz
$ cd mit-scheme-10.1.5/src/
$ ./configure
$ make compile-microcode
$ sudo make install
```Then get ZeroMQ:
```
$ wget https://github.com/zeromq/libzmq/releases/download/v4.3.1/zeromq-4.3.1.tar.gz
$ tar xvf zeromq-4.3.1.tar.gz
$ cd zeromq-4.3.1/
$ ./configure
$ make
$ sudo make install
```And finally
```
$ git clone https://github.com/joeltg/mit-scheme-kernel
$ cd mit-scheme-kernel
$ make
$ sudo make install
$ jupyter console --kernel mit-scheme
Jupyter console 6.0.0MIT Scheme Kernel
In [1]: (fold-left cons '() (iota 4))
Out[1]: ((((() . 0) . 1) . 2) . 3)
```Building on macOS may require installing `pkg-config` from brew and adding a `-undefined dynamic_lookup` flag to the makefile in the line that builds `zmq-shim.so`.