A Jupyter kernel for the Lambda Discipline functional programming language. This project allows Lambda Discipline code to be executed interactively from Jupyter Notebook and JupyterLab.
An example notebook is included in the repository.
Clone the repository and install it in editable mode:
git clone https://github.com/lambda-discipline/lbd-jupyter-kernel.git
cd lbd-jupyter-kernel
pip install -e .The Lambda Discipline interpreter is required to use the kernel. See the Lambda Discipline repository for installation instructions.
After installing the package, install the Lambda Discipline kernel specification:
jupyter kernelspec install ./kernelspec --user --replace --name lambda-disciplineThis registers the Lambda Discipline kernel with Jupyter for the current user. You can verify that the kernel was installed successfully with:
jupyter kernelspec listThe output should include an entry similar to:
lambda-discipline <path-to-jupyter-kernels>/lambda-discipline
Start JupyterLab:
jupyter labCreate a new notebook and select Lambda Discipline as the kernel.
An example.ipynb notebook is included in the repository to demonstrate basic usage.
The kernel can also be started directly with:
python -m lbd_jupyter_kernelThis starts the underlying Jupyter kernel process and waits for a Jupyter client to connect.
- Python 3.9+
- Jupyter/JupyterLab
- Lambda Discipline
This project is licensed under the MIT License. See LICENSE.txt.