Skip to content

Repository files navigation

Lambda Discipline Jupyter Kernel

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.

Thumbnail

An example notebook is included in the repository.

Installation

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-discipline

This registers the Lambda Discipline kernel with Jupyter for the current user. You can verify that the kernel was installed successfully with:

jupyter kernelspec list

The output should include an entry similar to:

lambda-discipline     <path-to-jupyter-kernels>/lambda-discipline

Usage

Start JupyterLab:

jupyter lab

Create a new notebook and select Lambda Discipline as the kernel.

An example.ipynb notebook is included in the repository to demonstrate basic usage.

Running the Kernel Directly

The kernel can also be started directly with:

python -m lbd_jupyter_kernel

This starts the underlying Jupyter kernel process and waits for a Jupyter client to connect.

Requirements

  • Python 3.9+
  • Jupyter/JupyterLab
  • Lambda Discipline

License

This project is licensed under the MIT License. See LICENSE.txt.

About

Lambda Discipline Jupyter Kernel

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages