/lisp_kernel

a jupyter lisp kernel based on the python REPLWrapper

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

A Jupyter kernel for lisp

This requires IPython 3 and a Lisp executable - eg sbcl saved with its core or a bash wrapper

To install:

pip install lisp_shell
python -m lisp_shell.install

To use it, run one of:

jupyter notebook
# In the notebook interface, select lisp_shell from the 'New' menu
jupyter qtconsole --kernel lisp_shell
jupyter console --kernel lisp_shell

For details of how this works, see the Jupyter docs on wrapper kernels, and Pexpect's docs on the replwrap module

This is adapted from the bash kernel (https://github.com/takluyver/bash_kernel)